pub struct ConstDef {
pub span: TokenSpan,
pub ident: Ident,
pub ty_expr: TyExpr,
pub expr: Expr,
}
Fields§
§span: TokenSpan
§ident: Ident
§ty_expr: TyExpr
§expr: Expr
Trait Implementations§
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