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