pub struct FieldDecl {
pub doc: Option<DocComment>,
pub name: Ident,
pub ty: Type,
pub span: Span,
}Expand description
A record field declaration.
Fields§
§doc: Option<DocComment>Documentation comment.
name: IdentField name.
ty: TypeField type.
span: SpanThe span.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FieldDecl
impl RefUnwindSafe for FieldDecl
impl Send for FieldDecl
impl Sync for FieldDecl
impl Unpin for FieldDecl
impl UnsafeUnpin for FieldDecl
impl UnwindSafe for FieldDecl
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