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.
source§impl<'a> PartialEq for Component<'a>
impl<'a> PartialEq for Component<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)