pub struct ConstDef {
pub name: String,
pub value: i128,
pub span: Span,
}Expand description
A constant definition (.equ, .set, =).
Fields§
§name: StringConstant name.
value: i128Constant value.
span: SpanSource location.
Trait Implementations§
impl StructuralPartialEq for ConstDef
Auto Trait Implementations§
impl Freeze for ConstDef
impl RefUnwindSafe for ConstDef
impl Send for ConstDef
impl Sync for ConstDef
impl Unpin for ConstDef
impl UnwindSafe for ConstDef
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