Struct InPlaceDstDataSrcBufDrop

pub(in ::vec) struct InPlaceDstDataSrcBufDrop<Src, Dest> { pub(in ::vec) ptr: NonNull<Dest>, pub(in ::vec) len: usize, pub(in ::vec) src_cap: usize, pub(in ::vec) src: PhantomData<Src> }

Fields

ptr: NonNull<Dest>
len: usize
src_cap: usize
src: PhantomData<Src>

Trait Implementations

impl<Src, Dest> Drop for InPlaceDstDataSrcBufDrop<Src, Dest>

fn drop(&mut self)

Auto Trait Implementations

impl<Src, Dest> !Send for InPlaceDstDataSrcBufDrop<Src, Dest>

impl<Src, Dest> !Sync for InPlaceDstDataSrcBufDrop<Src, Dest>

impl<Src, Dest> Freeze for InPlaceDstDataSrcBufDrop<Src, Dest> where NonNull<Dest>: Freeze, PhantomData<Src>: Freeze,

impl<Src, Dest> RefUnwindSafe for InPlaceDstDataSrcBufDrop<Src, Dest> where NonNull<Dest>: RefUnwindSafe, PhantomData<Src>: RefUnwindSafe,

impl<Src, Dest> Unpin for InPlaceDstDataSrcBufDrop<Src, Dest> where NonNull<Dest>: Unpin, PhantomData<Src>: Unpin,

impl<Src, Dest> UnsafeUnpin for InPlaceDstDataSrcBufDrop<Src, Dest> where NonNull<Dest>: UnsafeUnpin, PhantomData<Src>: UnsafeUnpin,

impl<Src, Dest> UnwindSafe for InPlaceDstDataSrcBufDrop<Src, Dest> where NonNull<Dest>: UnwindSafe, PhantomData<Src>: UnwindSafe,

Blanket Implementations

impl<T> Any for InPlaceDstDataSrcBufDrop<Src, Dest> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for InPlaceDstDataSrcBufDrop<Src, Dest> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for InPlaceDstDataSrcBufDrop<Src, Dest> where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for InPlaceDstDataSrcBufDrop<Src, Dest>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> SizeHint for InPlaceDstDataSrcBufDrop<Src, Dest> where T: ?Sized,

fn lower_bound(&self) -> usize
fn upper_bound(&self) -> Option<usize>

impl<T> SizedTypeProperties for InPlaceDstDataSrcBufDrop<Src, Dest>

impl<T, U> Into<U> for InPlaceDstDataSrcBufDrop<Src, Dest> where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for InPlaceDstDataSrcBufDrop<Src, Dest> where U: Into<T>,

type Error = Infallible;
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto<U> for InPlaceDstDataSrcBufDrop<Src, Dest> where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>