[][src]Struct safer_ffi::tuple::Tuple1

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

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

C Layout

Fields

_0: T0

Trait Implementations

impl<T0: Debug> Debug for Tuple1<T0>[src]

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

type CLayout = Tuple1_Layout<T0>

The CType having the same layout as Self.

Auto Trait Implementations

impl<T0> RefUnwindSafe for Tuple1<T0> where
    T0: RefUnwindSafe

impl<T0> Send for Tuple1<T0> where
    T0: Send

impl<T0> Sync for Tuple1<T0> where
    T0: Sync

impl<T0> Unpin for Tuple1<T0> where
    T0: Unpin

impl<T0> UnwindSafe for Tuple1<T0> where
    T0: 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, 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.