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