pub struct DisplayName<'a>(/* private fields */);Expand description
Gives out no &str, so no code can decide a type property by its spelling.
Trait Implementations§
Source§impl<'a> Clone for DisplayName<'a>
impl<'a> Clone for DisplayName<'a>
impl<'a> Copy for DisplayName<'a>
Source§impl<'a> Debug for DisplayName<'a>
impl<'a> Debug for DisplayName<'a>
Auto Trait Implementations§
impl<'a> Forget for DisplayName<'a>
impl<'a> Freeze for DisplayName<'a>
impl<'a> Move for DisplayName<'a>
impl<'a> RefUnwindSafe for DisplayName<'a>
impl<'a> Send for DisplayName<'a>
impl<'a> Sync for DisplayName<'a>
impl<'a> Unpin for DisplayName<'a>
impl<'a> UnsafeUnpin for DisplayName<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for DisplayName<'a>where
&'a str: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToEcoString for T
impl<T> ToEcoString for T
Source§fn to_eco_string(&self) -> EcoString
fn to_eco_string(&self) -> EcoString
Converts the given value to an
EcoString.