[][src]Struct abi_stable::for_examples::ValidTag_NEMarker

pub struct ValidTag_NEMarker<T, S>(_, _);

A marker type which implements StableAbi with the layout of ValidTag,used as a phantom field of NonExhaustive.

Trait Implementations

impl<__Storage> GetStaticEquivalent_ for ValidTag_NEMarker<ValidTag, __Storage>[src]

type StaticEquivalent = _static_ValidTag

impl<__Storage> StableAbi for ValidTag_NEMarker<ValidTag, __Storage>[src]

type IsNonZeroType = False

Whether this type has a single invalid bit-pattern. Read more

Auto Trait Implementations

impl<T, S> RefUnwindSafe for ValidTag_NEMarker<T, S> where
    S: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, S> Send for ValidTag_NEMarker<T, S> where
    S: Send,
    T: Send

impl<T, S> Sync for ValidTag_NEMarker<T, S> where
    S: Sync,
    T: Sync

impl<T, S> Unpin for ValidTag_NEMarker<T, S> where
    S: Unpin,
    T: Unpin

impl<T, S> UnwindSafe for ValidTag_NEMarker<T, S> where
    S: UnwindSafe,
    T: UnwindSafe

Blanket Implementations

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> GetWithMetadata for T[src]

type ForSelf = WithMetadata_<T, T>

This is always WithMetadata_<Self, Self>

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

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

impl<This> TransmuteElement for This where
    This: ?Sized
[src]

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.

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

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

The error type returned when the conversion fails.

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

type Type = T

The same type as Self. Read more