[][src]Struct abi_stable::prefix_type::WithMetadataFor

#[repr(C)]
pub struct WithMetadataFor<T, P> { /* fields omitted */ }

The prefix-type metadata for T (with a FieldAccessibility and a PTStructLayout). This is only constructed in PrefixTypeTrait::METADATA.

This is used as a workaround for const fn not allowing trait bounds.

Auto Trait Implementations

impl<T, P> Send for WithMetadataFor<T, P> where
    P: Send,
    T: Send

impl<T, P> Sync for WithMetadataFor<T, P> where
    P: Sync,
    T: Sync

impl<T, P> Unpin for WithMetadataFor<T, P> where
    P: Unpin,
    T: Unpin

impl<T, P> UnwindSafe for WithMetadataFor<T, P> where
    P: UnwindSafe,
    T: UnwindSafe

impl<T, P> RefUnwindSafe for WithMetadataFor<T, P> where
    P: RefUnwindSafe,
    T: RefUnwindSafe

Blanket Implementations

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

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

impl<T> From<T> for T[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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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

type Type = T

The same type as Self. Read more

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

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.