pub struct RawComponent {
pub name: String,
pub properties: Vec<RawProperty>,
pub children: Vec<RawComponent>,
}Expand description
Generic raw component captured by the AST parser before semantic typing.
Fields§
§name: StringComponent name (e.g. VEVENT, VALARM, STANDARD).
properties: Vec<RawProperty>Properties on this component.
children: Vec<RawComponent>Nested subcomponents (e.g. VALARM inside VEVENT).
Trait Implementations§
Source§impl Clone for RawComponent
impl Clone for RawComponent
Source§fn clone(&self) -> RawComponent
fn clone(&self) -> RawComponent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RawComponent
impl Debug for RawComponent
Source§impl PartialEq for RawComponent
impl PartialEq for RawComponent
Source§fn eq(&self, other: &RawComponent) -> bool
fn eq(&self, other: &RawComponent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RawComponent
impl Serialize for RawComponent
impl Eq for RawComponent
impl StructuralPartialEq for RawComponent
Auto Trait Implementations§
impl Freeze for RawComponent
impl RefUnwindSafe for RawComponent
impl Send for RawComponent
impl Sync for RawComponent
impl Unpin for RawComponent
impl UnsafeUnpin for RawComponent
impl UnwindSafe for RawComponent
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