pub struct NameConstant {
pub span: Span,
pub value: Singleton,
}
Fields§
§span: Span
§value: Singleton
Trait Implementations§
Source§impl Clone for NameConstant
impl Clone for NameConstant
Source§fn clone(&self) -> NameConstant
fn clone(&self) -> NameConstant
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for NameConstant
impl RefUnwindSafe for NameConstant
impl Send for NameConstant
impl Sync for NameConstant
impl Unpin for NameConstant
impl UnwindSafe for NameConstant
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