pub enum PrefetchType {
Read,
Write,
NonTemporal,
}Expand description
The kind of memory access the prefetch prepares for.
Variants§
Read
Prefetch for a future read.
Write
Prefetch for a future write (exclusive ownership hint).
NonTemporal
Non-temporal prefetch: bypass caches (for streaming data not reused).
Trait Implementations§
Source§impl Clone for PrefetchType
impl Clone for PrefetchType
Source§fn clone(&self) -> PrefetchType
fn clone(&self) -> PrefetchType
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 PrefetchType
impl Debug for PrefetchType
Source§impl Hash for PrefetchType
impl Hash for PrefetchType
Source§impl PartialEq for PrefetchType
impl PartialEq for PrefetchType
impl Copy for PrefetchType
impl Eq for PrefetchType
impl StructuralPartialEq for PrefetchType
Auto Trait Implementations§
impl Freeze for PrefetchType
impl RefUnwindSafe for PrefetchType
impl Send for PrefetchType
impl Sync for PrefetchType
impl Unpin for PrefetchType
impl UnsafeUnpin for PrefetchType
impl UnwindSafe for PrefetchType
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