pub struct PropertyDeclaration<'tree> {
pub span: Span,
pub accessors: Option<AccessorList<'tree>>,
pub name: Identifier<'tree>,
pub type: Type<'tree>,
pub value: Option<PropertyDeclarationValue<'tree>>,
pub children: Vec<PropertyDeclarationChildren<'tree>>,
}Fields§
§span: Span§accessors: Option<AccessorList<'tree>>§name: Identifier<'tree>§type: Type<'tree>§value: Option<PropertyDeclarationValue<'tree>>§children: Vec<PropertyDeclarationChildren<'tree>>Trait Implementations§
Source§impl<'tree> Clone for PropertyDeclaration<'tree>
impl<'tree> Clone for PropertyDeclaration<'tree>
Source§fn clone(&self) -> PropertyDeclaration<'tree>
fn clone(&self) -> PropertyDeclaration<'tree>
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<'tree> Debug for PropertyDeclaration<'tree>
impl<'tree> Debug for PropertyDeclaration<'tree>
impl<'tree> Eq for PropertyDeclaration<'tree>
Source§impl<'tree> FromNode<'tree> for PropertyDeclaration<'tree>
impl<'tree> FromNode<'tree> for PropertyDeclaration<'tree>
Source§impl<'tree> PartialEq for PropertyDeclaration<'tree>
impl<'tree> PartialEq for PropertyDeclaration<'tree>
Source§impl Spanned for PropertyDeclaration<'_>
impl Spanned for PropertyDeclaration<'_>
impl<'tree> StructuralPartialEq for PropertyDeclaration<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for PropertyDeclaration<'tree>
impl<'tree> RefUnwindSafe for PropertyDeclaration<'tree>
impl<'tree> Send for PropertyDeclaration<'tree>
impl<'tree> Sync for PropertyDeclaration<'tree>
impl<'tree> Unpin for PropertyDeclaration<'tree>
impl<'tree> UnsafeUnpin for PropertyDeclaration<'tree>
impl<'tree> UnwindSafe for PropertyDeclaration<'tree>
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