pub struct AstFieldDef {
pub name: String,
pub type_expr: AstTypeExpr,
pub annotations: Vec<AstAnnotation>,
pub span: Option<Span>,
}Fields§
§name: String§type_expr: AstTypeExpr§annotations: Vec<AstAnnotation>§span: Option<Span>Trait Implementations§
Source§impl Clone for AstFieldDef
impl Clone for AstFieldDef
Source§fn clone(&self) -> AstFieldDef
fn clone(&self) -> AstFieldDef
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 Debug for AstFieldDef
impl Debug for AstFieldDef
Source§impl PartialEq for AstFieldDef
impl PartialEq for AstFieldDef
impl StructuralPartialEq for AstFieldDef
Auto Trait Implementations§
impl Freeze for AstFieldDef
impl RefUnwindSafe for AstFieldDef
impl Send for AstFieldDef
impl Sync for AstFieldDef
impl Unpin for AstFieldDef
impl UnsafeUnpin for AstFieldDef
impl UnwindSafe for AstFieldDef
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