[][src]Struct safer_ffi::tuple::Tuple1_Layout

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

Fields

_0: <T0 as ReprC>::CLayout

Trait Implementations

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

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

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

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

type CLayout = Self

The CType having the same layout as Self.

Auto Trait Implementations

impl<T0> RefUnwindSafe for Tuple1<T0> where
    <T0 as ReprC>::CLayout: RefUnwindSafe

impl<T0> Send for Tuple1<T0> where
    <T0 as ReprC>::CLayout: Send

impl<T0> Sync for Tuple1<T0> where
    <T0 as ReprC>::CLayout: Sync

impl<T0> Unpin for Tuple1<T0> where
    <T0 as ReprC>::CLayout: Unpin

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