pub struct FieldItem {
pub name: Ident,
pub ty: TypeRef,
pub syn_ty: Type,
pub doc: String,
pub initial: Option<Expr>,
pub content: bool,
pub span: Span,
}Fields§
§name: Ident§ty: TypeRef§syn_ty: Type§doc: String§initial: Option<Expr>§content: bool#[content]: text that is data, shown as it is.
span: SpanTrait Implementations§
Auto Trait Implementations§
impl !Send for FieldItem
impl !Sync for FieldItem
impl Freeze for FieldItem
impl RefUnwindSafe for FieldItem
impl Unpin for FieldItem
impl UnsafeUnpin for FieldItem
impl UnwindSafe for FieldItem
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