pub struct DnVec<'buf, T> { /* private fields */ }Implementations§
Source§impl<'buf, T: SparseScalar + DeviceRepr> DnVec<'buf, T>
impl<'buf, T: SparseScalar + DeviceRepr> DnVec<'buf, T>
pub fn new(values: &'buf mut DeviceBuffer<T>) -> Result<Self>
Trait Implementations§
impl<T> Send for DnVec<'_, T>
Auto Trait Implementations§
impl<'buf, T> Freeze for DnVec<'buf, T>
impl<'buf, T> RefUnwindSafe for DnVec<'buf, T>where
T: RefUnwindSafe,
impl<'buf, T> !Sync for DnVec<'buf, T>
impl<'buf, T> Unpin for DnVec<'buf, T>
impl<'buf, T> UnsafeUnpin for DnVec<'buf, T>
impl<'buf, T> !UnwindSafe for DnVec<'buf, 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