pub enum WriteSrc<'d, T>where
T: 'd,{
Slice(&'d [T]),
RwVec(RwVec<T>),
Reader(FutureReadGuard<Vec<T>>),
None,
}
Expand description
The data destination for a buffer read command.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'d, T> Freeze for WriteSrc<'d, T>
impl<'d, T> !RefUnwindSafe for WriteSrc<'d, T>
impl<'d, T> Send for WriteSrc<'d, T>
impl<'d, T> Sync for WriteSrc<'d, T>
impl<'d, T> Unpin for WriteSrc<'d, T>
impl<'d, T> !UnwindSafe for WriteSrc<'d, T>
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