pub struct DeviceAllocator;Expand description
An allocator for Device-side buffers Safety: memory allocated by this allocator cannot be accessed on the host side
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeviceAllocator
impl RefUnwindSafe for DeviceAllocator
impl Send for DeviceAllocator
impl Sync for DeviceAllocator
impl Unpin for DeviceAllocator
impl UnwindSafe for DeviceAllocator
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