pub struct VectorMut<'a, T> {
pub data: &'a mut DeviceMemory<T>,
}Expand description
A mutable reference to a vector stored on the device.
Fields§
§data: &'a mut DeviceMemory<T>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for VectorMut<'a, T>
impl<'a, T> RefUnwindSafe for VectorMut<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for VectorMut<'a, T>where
T: Send,
impl<'a, T> Sync for VectorMut<'a, T>where
T: Sync,
impl<'a, T> Unpin for VectorMut<'a, T>
impl<'a, T> UnsafeUnpin for VectorMut<'a, T>
impl<'a, T> !UnwindSafe for VectorMut<'a, 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