pub struct ConstItem {
pub name: Ident,
pub value: Expr,
pub attributes: Box<[Attribute]>,
pub span: Span,
pub doc_comment: Option<Comment>,
}Fields§
§name: Ident§value: Expr§attributes: Box<[Attribute]>§span: Span§doc_comment: Option<Comment>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConstItem
impl RefUnwindSafe for ConstItem
impl Send for ConstItem
impl Sync for ConstItem
impl Unpin for ConstItem
impl UnsafeUnpin for ConstItem
impl UnwindSafe for ConstItem
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