[][src]Struct safer_ffi::vec::Vec_Layout

#[repr(C)]pub struct Vec_Layout<T> where
    NonNullOwned<T>: ReprC,
    usize: ReprC,
    usize: ReprC,
    T: ReprC
{ pub ptr: <NonNullOwned<T> as ReprC>::CLayout, pub len: <usize as ReprC>::CLayout, pub cap: <usize as ReprC>::CLayout, }

Fields

ptr: <NonNullOwned<T> as ReprC>::CLayoutlen: <usize as ReprC>::CLayoutcap: <usize as ReprC>::CLayout

Trait Implementations

impl<T> CType for Vec<T> where
    <NonNullOwned<T> as ReprC>::CLayout: CType,
    <usize as ReprC>::CLayout: CType,
    <usize as ReprC>::CLayout: CType,
    T: ReprC,
    NonNullOwned<T>: ReprC,
    usize: ReprC,
    usize: ReprC,
    T: ReprC
[src]

type OPAQUE_KIND = Concrete

impl<T> Clone for Vec<T> where
    NonNullOwned<T>: ReprC,
    usize: ReprC,
    usize: ReprC,
    T: ReprC
[src]

impl<T> Copy for Vec<T> where
    NonNullOwned<T>: ReprC,
    usize: ReprC,
    usize: ReprC,
    T: ReprC
[src]

impl<T> ReprC for Vec<T> where
    NonNullOwned<T>: ReprC,
    usize: ReprC,
    usize: ReprC,
    T: ReprC
[src]

type CLayout = Self

The CType having the same layout as Self.

Auto Trait Implementations

impl<T> !RefUnwindSafe for Vec<T>

impl<T> !Send for Vec<T>

impl<T> !Sync for Vec<T>

impl<T> !Unpin for Vec<T>

impl<T> !UnwindSafe for Vec<T>

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.