[][src]Struct abi_stable::erased_types::traits::InterfaceFor

pub struct InterfaceFor<T, Interface, Unerasability>(_);

Helper struct to get an ImplType implementation for any type.

Trait Implementations

impl<T, Interface, Unerasability> ImplType for InterfaceFor<T, Interface, Unerasability> where
    Interface: InterfaceType,
    Unerasability: GetUTID<T>, 
[src]

type Interface = Interface

const INFO: &'static TypeInfo[src]

The &'static TypeInfo constant,used when unerasing DynTraits into a type.

Auto Trait Implementations

impl<T, Interface, Unerasability> Send for InterfaceFor<T, Interface, Unerasability>

impl<T, Interface, Unerasability> Sync for InterfaceFor<T, Interface, Unerasability>

impl<T, Interface, Unerasability> Unpin for InterfaceFor<T, Interface, Unerasability>

impl<T, Interface, Unerasability> UnwindSafe for InterfaceFor<T, Interface, Unerasability>

impl<T, Interface, Unerasability> RefUnwindSafe for InterfaceFor<T, Interface, Unerasability>

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.