[][src]Struct typsy::anon::Named

pub struct Named<T, Name: 'static>(pub T, _);

Implementations

impl<T, Name: 'static> Named<T, Name>[src]

pub const fn new(value: T) -> Self[src]

Trait Implementations

impl<T: Clone, Name: Clone + 'static> Clone for Named<T, Name>[src]

impl<T: Copy, Name: Copy + 'static> Copy for Named<T, Name>[src]

impl<T: Debug, Name: Debug + 'static> Debug for Named<T, Name>[src]

impl<T, U: DeepTransform<T, I>, I, N> DeepTransformFrom<Named<U, N>, I> for Named<T, N>[src]

impl<T: Eq, Name: Eq + 'static> Eq for Named<T, Name>[src]

impl<T: Hash, Name: Hash + 'static> Hash for Named<T, Name>[src]

impl<T: PartialEq, Name: PartialEq + 'static> PartialEq<Named<T, Name>> for Named<T, Name>[src]

impl<T, Name: 'static> StructuralEq for Named<T, Name>[src]

impl<T, Name: 'static> StructuralPartialEq for Named<T, Name>[src]

Auto Trait Implementations

impl<T, Name> Send for Named<T, Name> where
    Name: Send,
    T: Send
[src]

impl<T, Name> Sync for Named<T, Name> where
    Name: Sync,
    T: Sync
[src]

impl<T, Name> Unpin for Named<T, Name> where
    Name: Unpin,
    T: Unpin
[src]

Blanket Implementations

impl<T> Access for T[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.