pub struct FieldDefinition<'tree> {
pub span: Span,
pub decorator: Vec<Decorator<'tree>>,
pub property: FieldDefinitionProperty<'tree>,
pub value: Option<Expression<'tree>>,
}Fields§
§span: Span§decorator: Vec<Decorator<'tree>>§property: FieldDefinitionProperty<'tree>§value: Option<Expression<'tree>>Trait Implementations§
Source§impl<'tree> Clone for FieldDefinition<'tree>
impl<'tree> Clone for FieldDefinition<'tree>
Source§fn clone(&self) -> FieldDefinition<'tree>
fn clone(&self) -> FieldDefinition<'tree>
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<'tree> Debug for FieldDefinition<'tree>
impl<'tree> Debug for FieldDefinition<'tree>
Source§impl<'tree> FromNode<'tree> for FieldDefinition<'tree>
impl<'tree> FromNode<'tree> for FieldDefinition<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for FieldDefinition<'tree>
impl<'tree> RefUnwindSafe for FieldDefinition<'tree>
impl<'tree> Send for FieldDefinition<'tree>
impl<'tree> Sync for FieldDefinition<'tree>
impl<'tree> Unpin for FieldDefinition<'tree>
impl<'tree> UnsafeUnpin for FieldDefinition<'tree>
impl<'tree> UnwindSafe for FieldDefinition<'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