pub struct ConstantName<'a>(/* private fields */);
Expand description
ConstantName
constant name for Constant
elements of AST
Implementations§
Trait Implementations§
Source§impl<'a> Clone for ConstantName<'a>
impl<'a> Clone for ConstantName<'a>
Source§fn clone(&self) -> ConstantName<'a>
fn clone(&self) -> ConstantName<'a>
Returns a duplicate 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 moreSource§impl<'a> Debug for ConstantName<'a>
impl<'a> Debug for ConstantName<'a>
Source§impl From<ConstantName<'_>> for ConstantName
impl From<ConstantName<'_>> for ConstantName
Source§fn from(value: ConstantName<'_>) -> Self
fn from(value: ConstantName<'_>) -> Self
Converts to this type from the input type.
Source§impl GetLocation for ConstantName<'_>
impl GetLocation for ConstantName<'_>
fn location(&self) -> CodeLocation
Source§impl<'a> PartialEq for ConstantName<'a>
impl<'a> PartialEq for ConstantName<'a>
impl<'a> Eq for ConstantName<'a>
impl<'a> StructuralPartialEq for ConstantName<'a>
Auto Trait Implementations§
impl<'a> Freeze for ConstantName<'a>
impl<'a> RefUnwindSafe for ConstantName<'a>
impl<'a> Send for ConstantName<'a>
impl<'a> Sync for ConstantName<'a>
impl<'a> Unpin for ConstantName<'a>
impl<'a> UnwindSafe for ConstantName<'a>
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