pub struct Writer<'a, 'b, T, B: Backend> {
pub slice: &'a mut [T],
/* private fields */
}
Expand description
Wrapper structure for a mutable slice with deferred flushing for non-coherent memory.
Fields§
§slice: &'a mut [T]
Wrapped slice.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b, T, B> Freeze for Writer<'a, 'b, T, B>
impl<'a, 'b, T, B> RefUnwindSafe for Writer<'a, 'b, T, B>where
T: RefUnwindSafe,
<B as Backend>::Device: RefUnwindSafe,
<B as Backend>::Memory: RefUnwindSafe,
impl<'a, 'b, T, B> Send for Writer<'a, 'b, T, B>where
T: Send,
impl<'a, 'b, T, B> Sync for Writer<'a, 'b, T, B>where
T: Sync,
impl<'a, 'b, T, B> Unpin for Writer<'a, 'b, T, B>
impl<'a, 'b, T, B> !UnwindSafe for Writer<'a, 'b, T, B>
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