pub struct ConstDecl {
pub name: Ident,
pub value: ConstValue,
pub span: Span,
}Expand description
const NAME: Type or const NAME: value
Fields§
§name: Ident§value: ConstValue§span: SpanTrait Implementations§
Auto Trait Implementations§
impl Freeze for ConstDecl
impl RefUnwindSafe for ConstDecl
impl Send for ConstDecl
impl Sync for ConstDecl
impl Unpin for ConstDecl
impl UnwindSafe for ConstDecl
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