pub enum MemDevice {
Cpu,
Gpu(u32),
}
Variants§
Trait Implementations§
impl Copy for MemDevice
impl Eq for MemDevice
impl StructuralPartialEq for MemDevice
Auto Trait Implementations§
impl Freeze for MemDevice
impl RefUnwindSafe for MemDevice
impl Send for MemDevice
impl Sync for MemDevice
impl Unpin for MemDevice
impl UnwindSafe for MemDevice
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