pub struct ConstantName(/* private fields */);
Expand description
Constant name type
Trait Implementations§
Source§impl Clone for ConstantName
impl Clone for ConstantName
Source§fn clone(&self) -> ConstantName
fn clone(&self) -> ConstantName
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 Debug for ConstantName
impl Debug for ConstantName
Source§impl Display for ConstantName
impl Display for ConstantName
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 From<String> for ConstantName
impl From<String> for ConstantName
Source§impl Hash for ConstantName
impl Hash for ConstantName
Source§impl PartialEq for ConstantName
impl PartialEq for ConstantName
impl Eq for ConstantName
impl StructuralPartialEq for ConstantName
Auto Trait Implementations§
impl Freeze for ConstantName
impl RefUnwindSafe for ConstantName
impl Send for ConstantName
impl Sync for ConstantName
impl Unpin for ConstantName
impl UnwindSafe for ConstantName
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