pub struct Component<'a> {
pub name: ParseString<'a>,
pub properties: Vec<Property<'a>>,
pub components: Vec<Component<'a>>,
}
Expand description
The parsing equivalent of crate::components::Component
Fields§
§name: ParseString<'a>
§properties: Vec<Property<'a>>
§components: Vec<Component<'a>>
Implementations§
Trait Implementations§
Source§impl<'a> From<Component<'a>> for CalendarComponent
impl<'a> From<Component<'a>> for CalendarComponent
Source§fn from(component: Component<'_>) -> CalendarComponent
fn from(component: Component<'_>) -> CalendarComponent
Converts to this type from the input type.
impl<'a> StructuralPartialEq for Component<'a>
Auto Trait Implementations§
impl<'a> Freeze for Component<'a>
impl<'a> RefUnwindSafe for Component<'a>
impl<'a> Send for Component<'a>
impl<'a> Sync for Component<'a>
impl<'a> Unpin for Component<'a>
impl<'a> UnwindSafe for Component<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more