pub enum PrefetchStrategy {
None,
Neighbors,
Radius(u32),
Pyramid,
Directional {
dx: i32,
dy: i32,
count: u32,
},
}Expand description
Prefetching strategy
Variants§
None
No prefetching
Neighbors
Prefetch immediate neighbors
Radius(u32)
Prefetch in a radius
Pyramid
Prefetch pyramid (parent and children)
Directional
Prefetch along a direction
Trait Implementations§
Source§impl Clone for PrefetchStrategy
impl Clone for PrefetchStrategy
Source§fn clone(&self) -> PrefetchStrategy
fn clone(&self) -> PrefetchStrategy
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 PrefetchStrategy
impl Debug for PrefetchStrategy
Source§impl PartialEq for PrefetchStrategy
impl PartialEq for PrefetchStrategy
impl Copy for PrefetchStrategy
impl Eq for PrefetchStrategy
impl StructuralPartialEq for PrefetchStrategy
Auto Trait Implementations§
impl Freeze for PrefetchStrategy
impl RefUnwindSafe for PrefetchStrategy
impl Send for PrefetchStrategy
impl Sync for PrefetchStrategy
impl Unpin for PrefetchStrategy
impl UnsafeUnpin for PrefetchStrategy
impl UnwindSafe for PrefetchStrategy
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