[−][src]Struct safer_ffi::slice::slice_ref_Layout
Fields
ptr: <NonNullRef<T> as ReprC>::CLayout
Pointer to the first element (if any).
len: <usize as ReprC>::CLayout
Element count
_lt: <PhantomData<&'lt ()> as ReprC>::CLayout
Trait Implementations
impl<'lt, T> CType for slice_ref<'lt, T> where
<NonNullRef<T> as ReprC>::CLayout: CType,
<usize as ReprC>::CLayout: CType,
<PhantomData<&'lt ()> as ReprC>::CLayout: CType,
T: ReprC,
NonNullRef<T>: ReprC,
usize: ReprC,
PhantomData<&'lt ()>: ReprC,
T: ReprC,
T: 'lt,
[src]
<NonNullRef<T> as ReprC>::CLayout: CType,
<usize as ReprC>::CLayout: CType,
<PhantomData<&'lt ()> as ReprC>::CLayout: CType,
T: ReprC,
NonNullRef<T>: ReprC,
usize: ReprC,
PhantomData<&'lt ()>: ReprC,
T: ReprC,
T: 'lt,
type OPAQUE_KIND = Concrete
impl<'lt, T> Clone for slice_ref<'lt, T> where
NonNullRef<T>: ReprC,
usize: ReprC,
PhantomData<&'lt ()>: ReprC,
T: ReprC,
T: 'lt,
[src]
NonNullRef<T>: ReprC,
usize: ReprC,
PhantomData<&'lt ()>: ReprC,
T: ReprC,
T: 'lt,
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'lt, T> Copy for slice_ref<'lt, T> where
NonNullRef<T>: ReprC,
usize: ReprC,
PhantomData<&'lt ()>: ReprC,
T: ReprC,
T: 'lt,
[src]
NonNullRef<T>: ReprC,
usize: ReprC,
PhantomData<&'lt ()>: ReprC,
T: ReprC,
T: 'lt,
impl<'lt, T> ReprC for slice_ref<'lt, T> where
NonNullRef<T>: ReprC,
usize: ReprC,
PhantomData<&'lt ()>: ReprC,
T: ReprC,
T: 'lt,
[src]
NonNullRef<T>: ReprC,
usize: ReprC,
PhantomData<&'lt ()>: ReprC,
T: ReprC,
T: 'lt,
Auto Trait Implementations
impl<'lt, T> !RefUnwindSafe for slice_ref<'lt, T>
impl<'lt, T> !Send for slice_ref<'lt, T>
impl<'lt, T> !Sync for slice_ref<'lt, T>
impl<'lt, T> !Unpin for slice_ref<'lt, T>
impl<'lt, T> !UnwindSafe for slice_ref<'lt, T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> 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>,