pub struct PublicFieldDefinition<'tree> {
pub span: Span,
pub decorator: Vec<Decorator<'tree>>,
pub name: PublicFieldDefinitionName<'tree>,
pub type: Option<TypeAnnotation<'tree>>,
pub value: Option<Expression<'tree>>,
pub children: Vec<PublicFieldDefinitionChildren<'tree>>,
}Fields§
§span: Span§decorator: Vec<Decorator<'tree>>§name: PublicFieldDefinitionName<'tree>§type: Option<TypeAnnotation<'tree>>§value: Option<Expression<'tree>>§children: Vec<PublicFieldDefinitionChildren<'tree>>Trait Implementations§
Source§impl<'tree> Clone for PublicFieldDefinition<'tree>
impl<'tree> Clone for PublicFieldDefinition<'tree>
Source§fn clone(&self) -> PublicFieldDefinition<'tree>
fn clone(&self) -> PublicFieldDefinition<'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 PublicFieldDefinition<'tree>
impl<'tree> Debug for PublicFieldDefinition<'tree>
impl<'tree> Eq for PublicFieldDefinition<'tree>
Source§impl<'tree> FromNode<'tree> for PublicFieldDefinition<'tree>
impl<'tree> FromNode<'tree> for PublicFieldDefinition<'tree>
Source§impl<'tree> PartialEq for PublicFieldDefinition<'tree>
impl<'tree> PartialEq for PublicFieldDefinition<'tree>
Source§impl Spanned for PublicFieldDefinition<'_>
impl Spanned for PublicFieldDefinition<'_>
impl<'tree> StructuralPartialEq for PublicFieldDefinition<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for PublicFieldDefinition<'tree>
impl<'tree> RefUnwindSafe for PublicFieldDefinition<'tree>
impl<'tree> Send for PublicFieldDefinition<'tree>
impl<'tree> Sync for PublicFieldDefinition<'tree>
impl<'tree> Unpin for PublicFieldDefinition<'tree>
impl<'tree> UnsafeUnpin for PublicFieldDefinition<'tree>
impl<'tree> UnwindSafe for PublicFieldDefinition<'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