pub struct Field {
pub id: NodeId,
pub name: Name,
pub pos: Position,
pub span: Span,
pub data_type: Type,
pub primary_ctor: bool,
pub expr: Option<Box<Expr>>,
pub reassignable: bool,
}
Fields§
§id: NodeId
§name: Name
§pos: Position
§span: Span
§data_type: Type
§primary_ctor: bool
§expr: Option<Box<Expr>>
§reassignable: bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
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