pub enum PrefetchTarget {
Device(u32),
Cpu,
}Variants§
Trait Implementations§
Source§impl Clone for PrefetchTarget
impl Clone for PrefetchTarget
Source§fn clone(&self) -> PrefetchTarget
fn clone(&self) -> PrefetchTarget
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrefetchTarget
impl Debug for PrefetchTarget
impl Copy for PrefetchTarget
Auto Trait Implementations§
impl Freeze for PrefetchTarget
impl RefUnwindSafe for PrefetchTarget
impl Send for PrefetchTarget
impl Sync for PrefetchTarget
impl Unpin for PrefetchTarget
impl UnsafeUnpin for PrefetchTarget
impl UnwindSafe for PrefetchTarget
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