[][src]Struct safer_ffi::tuple::Tuple2

#[repr(C)]pub struct Tuple2<T0, T1> {
    pub _0: T0,
    pub _1: T1,
}

Simplified for lighter documentation, but the actual impls range from Tuple1 up to Tuple6.

C Layout

Fields

_0: T0_1: T1

Trait Implementations

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

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

type CLayout = Tuple2_Layout<T0, T1>

The CType having the same layout as Self.

Auto Trait Implementations

impl<T0, T1> RefUnwindSafe for Tuple2<T0, T1> where
    T0: RefUnwindSafe,
    T1: RefUnwindSafe

impl<T0, T1> Send for Tuple2<T0, T1> where
    T0: Send,
    T1: Send

impl<T0, T1> Sync for Tuple2<T0, T1> where
    T0: Sync,
    T1: Sync

impl<T0, T1> Unpin for Tuple2<T0, T1> where
    T0: Unpin,
    T1: Unpin

impl<T0, T1> UnwindSafe for Tuple2<T0, T1> where
    T0: UnwindSafe,
    T1: 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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ManuallyDropMut for T

type Ret = ManuallyDrop<T>

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.