[][src]Struct safer_ffi::tuple::Tuple2_Layout

#[repr(C)]pub struct Tuple2_Layout<T0, T1> where
    T0: ReprC,
    T1: ReprC,
    T0: ReprC,
    T1: ReprC
{ pub _0: <T0 as ReprC>::CLayout, pub _1: <T1 as ReprC>::CLayout, }

Fields

_0: <T0 as ReprC>::CLayout_1: <T1 as ReprC>::CLayout

Trait Implementations

impl<T0, T1> CType for Tuple2<T0, T1> where
    <T0 as ReprC>::CLayout: CType,
    <T1 as ReprC>::CLayout: CType,
    T0: ReprC,
    T1: ReprC,
    T0: ReprC,
    T1: ReprC,
    T0: ReprC,
    T1: ReprC
[src]

type OPAQUE_KIND = Concrete

impl<T0, T1> Clone for Tuple2<T0, T1> where
    T0: ReprC,
    T1: ReprC,
    T0: ReprC,
    T1: ReprC
[src]

impl<T0, T1> Copy for Tuple2<T0, T1> where
    T0: ReprC,
    T1: ReprC,
    T0: ReprC,
    T1: ReprC
[src]

impl<T0, T1> ReprC for Tuple2<T0, T1> where
    T0: ReprC,
    T1: ReprC,
    T0: ReprC,
    T1: ReprC
[src]

type CLayout = Self

The CType having the same layout as Self.

Auto Trait Implementations

impl<T0, T1> RefUnwindSafe for Tuple2<T0, T1> where
    <T0 as ReprC>::CLayout: RefUnwindSafe,
    <T1 as ReprC>::CLayout: RefUnwindSafe

impl<T0, T1> Send for Tuple2<T0, T1> where
    <T0 as ReprC>::CLayout: Send,
    <T1 as ReprC>::CLayout: Send

impl<T0, T1> Sync for Tuple2<T0, T1> where
    <T0 as ReprC>::CLayout: Sync,
    <T1 as ReprC>::CLayout: Sync

impl<T0, T1> Unpin for Tuple2<T0, T1> where
    <T0 as ReprC>::CLayout: Unpin,
    <T1 as ReprC>::CLayout: Unpin

impl<T0, T1> UnwindSafe for Tuple2<T0, T1> where
    <T0 as ReprC>::CLayout: UnwindSafe,
    <T1 as ReprC>::CLayout: UnwindSafe

Blanket Implementations

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

impl<T> AsOut<T> for T where
    T: Copy

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> ManuallyDropMut for T

type Ret = ManuallyDrop<T>

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.