pub struct FieldDecl {
pub name: String,
pub ty: Option<Type>,
pub pos: Pos,
pub span: Span,
}Fields§
§name: String§ty: Option<Type>Structured field type parsed from the token stream. None when the type
could not be parsed cleanly (analysis treats it as unknown).
pos: Pos§span: SpanTrait 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