[][src]Union abi_stable::const_utils::Transmuter

pub union Transmuter<From_: Copy, To: Copy> {
    pub from: From_,
    pub to: To,
}

Allows transmuting between From_:Copy and To:Copy

Fields

from: From_to: To

Auto Trait Implementations

impl<From_, To> Send for Transmuter<From_, To> where
    From_: Send,
    To: Send

impl<From_, To> Sync for Transmuter<From_, To> where
    From_: Sync,
    To: Sync

impl<From_, To> Unpin for Transmuter<From_, To> where
    From_: Unpin,
    To: Unpin

impl<From_, To> UnwindSafe for Transmuter<From_, To> where
    From_: UnwindSafe,
    To: UnwindSafe

impl<From_, To> RefUnwindSafe for Transmuter<From_, To> where
    From_: RefUnwindSafe,
    To: 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.