pub struct ZeroCopyBuffer<T>(pub T);
Expand description
Wrapping a Vec
Tuple Fields§
§0: T
Trait Implementations§
Source§impl<T: Clone> Clone for ZeroCopyBuffer<T>
impl<T: Clone> Clone for ZeroCopyBuffer<T>
Source§fn clone(&self) -> ZeroCopyBuffer<T>
fn clone(&self) -> ZeroCopyBuffer<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug> Debug for ZeroCopyBuffer<T>
impl<T: Debug> Debug for ZeroCopyBuffer<T>
Source§impl<T, const N: usize> IntoDart for ZeroCopyBuffer<[T; N]>where
T: DartTypedDataTypeTrait,
impl<T, const N: usize> IntoDart for ZeroCopyBuffer<[T; N]>where
T: DartTypedDataTypeTrait,
Source§fn into_dart(self) -> DartCObject
fn into_dart(self) -> DartCObject
Consumes
Self
and Performs the conversion.Source§impl<const N: usize> IntoDart for ZeroCopyBuffer<[isize; N]>
impl<const N: usize> IntoDart for ZeroCopyBuffer<[isize; N]>
Source§fn into_dart(self) -> DartCObject
fn into_dart(self) -> DartCObject
Consumes
Self
and Performs the conversion.Source§impl<const N: usize> IntoDart for ZeroCopyBuffer<[usize; N]>
impl<const N: usize> IntoDart for ZeroCopyBuffer<[usize; N]>
Source§fn into_dart(self) -> DartCObject
fn into_dart(self) -> DartCObject
Consumes
Self
and Performs the conversion.Source§impl<T> IntoDart for ZeroCopyBuffer<Vec<T>>where
T: DartTypedDataTypeTrait,
impl<T> IntoDart for ZeroCopyBuffer<Vec<T>>where
T: DartTypedDataTypeTrait,
Source§fn into_dart(self) -> DartCObject
fn into_dart(self) -> DartCObject
Consumes
Self
and Performs the conversion.Source§impl IntoDart for ZeroCopyBuffer<Vec<isize>>
impl IntoDart for ZeroCopyBuffer<Vec<isize>>
Source§fn into_dart(self) -> DartCObject
fn into_dart(self) -> DartCObject
Consumes
Self
and Performs the conversion.Source§impl IntoDart for ZeroCopyBuffer<Vec<usize>>
impl IntoDart for ZeroCopyBuffer<Vec<usize>>
Source§fn into_dart(self) -> DartCObject
fn into_dart(self) -> DartCObject
Consumes
Self
and Performs the conversion.impl<T, const N: usize> IntoDartExceptPrimitive for ZeroCopyBuffer<[T; N]>where
T: DartTypedDataTypeTrait,
impl<T> IntoDartExceptPrimitive for ZeroCopyBuffer<Vec<T>>where
T: DartTypedDataTypeTrait,
Auto Trait Implementations§
impl<T> Freeze for ZeroCopyBuffer<T>where
T: Freeze,
impl<T> RefUnwindSafe for ZeroCopyBuffer<T>where
T: RefUnwindSafe,
impl<T> Send for ZeroCopyBuffer<T>where
T: Send,
impl<T> Sync for ZeroCopyBuffer<T>where
T: Sync,
impl<T> Unpin for ZeroCopyBuffer<T>where
T: Unpin,
impl<T> UnwindSafe for ZeroCopyBuffer<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more