[−][src]Struct tynm::TypeNameDisplay
Helper struct for printing type names directly to format!.
This struct warps TypeName and implements fmd::Display to serve as
{} argument to format! and similar macros.
It can be obtained by the as_display and as_display_mn method.
Example
use tynm::TypeName; let tn = TypeName::new::<usize>(); println!("{}", tn.as_display());
Trait Implementations
impl<'s> Clone for TypeNameDisplay<'s>[src]
fn clone(&self) -> TypeNameDisplay<'s>[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<'s> Debug for TypeNameDisplay<'s>[src]
impl<'s> Display for TypeNameDisplay<'s>[src]
impl<'s> Eq for TypeNameDisplay<'s>[src]
impl<'s> PartialEq<TypeNameDisplay<'s>> for TypeNameDisplay<'s>[src]
fn eq(&self, other: &TypeNameDisplay<'s>) -> bool[src]
fn ne(&self, other: &TypeNameDisplay<'s>) -> bool[src]
impl<'s> StructuralEq for TypeNameDisplay<'s>[src]
impl<'s> StructuralPartialEq for TypeNameDisplay<'s>[src]
Auto Trait Implementations
impl<'s> RefUnwindSafe for TypeNameDisplay<'s>
impl<'s> Send for TypeNameDisplay<'s>
impl<'s> Sync for TypeNameDisplay<'s>
impl<'s> Unpin for TypeNameDisplay<'s>
impl<'s> UnwindSafe for TypeNameDisplay<'s>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,