[−][src]Struct safer_ffi::vec::Vec_Layout
This is supported on
feature="alloc"
only.Fields
ptr: <NonNullOwned<T> as ReprC>::CLayout
This is supported on
feature="alloc"
only.len: <usize as ReprC>::CLayout
This is supported on
feature="alloc"
only.cap: <usize as ReprC>::CLayout
This is supported on
feature="alloc"
only.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]
<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,
fn c_short_name_fmt(fmt: &mut Formatter) -> Result
[src]
fn c_define_self(definer: &mut dyn Definer) -> Result<()>
[src]
fn c_var_fmt(fmt: &mut Formatter, var_name: &str) -> Result
[src]
type OPAQUE_KIND = Concrete
fn c_short_name() -> ImplDisplay<Self>
[src]
fn c_var(var_name: &str) -> ImplDisplay<Self>
[src]
impl<T> Clone for Vec<T> where
NonNullOwned<T>: ReprC,
usize: ReprC,
usize: ReprC,
T: ReprC,
[src]
NonNullOwned<T>: ReprC,
usize: ReprC,
usize: ReprC,
T: ReprC,
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> Copy for Vec<T> where
NonNullOwned<T>: ReprC,
usize: ReprC,
usize: ReprC,
T: ReprC,
[src]
NonNullOwned<T>: ReprC,
usize: ReprC,
usize: ReprC,
T: ReprC,
impl<T> ReprC for Vec<T> where
NonNullOwned<T>: ReprC,
usize: ReprC,
usize: ReprC,
T: ReprC,
[src]
NonNullOwned<T>: ReprC,
usize: ReprC,
usize: ReprC,
T: ReprC,
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]
T: 'static + ?Sized,
impl<T> AsOut<T> for T where
T: Copy,
T: Copy,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ManuallyDropMut for T
type Ret = ManuallyDrop<T>
fn manually_drop_mut(&'__ mut self) -> &'__ mut ManuallyDrop<T>
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,