pub struct ExprConst {
pub attrs: Vec<Attribute>,
pub const_token: Const,
pub block: Block,
}Expand description
A const block: const { ... }.
Fields§
§attrs: Vec<Attribute>§const_token: Const§block: BlockTrait Implementations§
Auto Trait Implementations§
impl Freeze for ExprConst
impl RefUnwindSafe for ExprConst
impl !Send for ExprConst
impl !Sync for ExprConst
impl Unpin for ExprConst
impl UnwindSafe for ExprConst
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