pub enum ClassProperty<'a> {
Data(Box<(Vec<PropertyQualifier<'a>>, DataDeclaration<'a>)>),
Const(Box<(Metadata<'a>, Vec<ClassItemQualifier<'a>>, DataType<'a>, ConstIdentifier<'a>, Option<(Metadata<'a>, ConstantExpression<'a>)>, Metadata<'a>)>),
}Variants§
Data(Box<(Vec<PropertyQualifier<'a>>, DataDeclaration<'a>)>)
Const(Box<(Metadata<'a>, Vec<ClassItemQualifier<'a>>, DataType<'a>, ConstIdentifier<'a>, Option<(Metadata<'a>, ConstantExpression<'a>)>, Metadata<'a>)>)
Implementations§
Source§impl<'a: 'b, 'b> ClassProperty<'a>
impl<'a: 'b, 'b> ClassProperty<'a>
Sourcepub fn iter(&'b self) -> NodeIter<'a, 'b> ⓘ
pub fn iter(&'b self) -> NodeIter<'a, 'b> ⓘ
Iterate across the ClassProperty and its children
Trait Implementations§
Source§impl<'a> Clone for ClassProperty<'a>
impl<'a> Clone for ClassProperty<'a>
Source§fn clone(&self) -> ClassProperty<'a>
fn clone(&self) -> ClassProperty<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for ClassProperty<'a>
impl<'a> Debug for ClassProperty<'a>
Source§impl<'a: 'b, 'b> From<&'b ClassProperty<'a>> for Node<'a, 'b>
impl<'a: 'b, 'b> From<&'b ClassProperty<'a>> for Node<'a, 'b>
Source§fn from(value: &'b ClassProperty<'a>) -> Self
fn from(value: &'b ClassProperty<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a: 'b, 'b> IntoIterator for &'b ClassProperty<'a>
impl<'a: 'b, 'b> IntoIterator for &'b ClassProperty<'a>
Source§impl<'a: 'b, 'b> Nodes<'a, 'b> for ClassProperty<'a>
impl<'a: 'b, 'b> Nodes<'a, 'b> for ClassProperty<'a>
Source§impl<'a> PartialEq for ClassProperty<'a>
impl<'a> PartialEq for ClassProperty<'a>
impl<'a> StructuralPartialEq for ClassProperty<'a>
Auto Trait Implementations§
impl<'a> Freeze for ClassProperty<'a>
impl<'a> RefUnwindSafe for ClassProperty<'a>
impl<'a> Send for ClassProperty<'a>
impl<'a> Sync for ClassProperty<'a>
impl<'a> Unpin for ClassProperty<'a>
impl<'a> UnsafeUnpin for ClassProperty<'a>
impl<'a> UnwindSafe for ClassProperty<'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