pub struct PrefetchHint {
pub address_expr: String,
pub distance: u64,
pub hint_type: PrefetchType,
}Expand description
A software prefetch hint to be emitted before the actual access.
Fields§
§address_expr: StringExpression string representing the address to prefetch.
distance: u64How many iterations ahead this prefetch is issued.
hint_type: PrefetchTypeThe type of prefetch hint.
Implementations§
Source§impl PrefetchHint
impl PrefetchHint
Trait Implementations§
Source§impl Clone for PrefetchHint
impl Clone for PrefetchHint
Source§fn clone(&self) -> PrefetchHint
fn clone(&self) -> PrefetchHint
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 PrefetchHint
impl Debug for PrefetchHint
Source§impl PartialEq for PrefetchHint
impl PartialEq for PrefetchHint
impl StructuralPartialEq for PrefetchHint
Auto Trait Implementations§
impl Freeze for PrefetchHint
impl RefUnwindSafe for PrefetchHint
impl Send for PrefetchHint
impl Sync for PrefetchHint
impl Unpin for PrefetchHint
impl UnsafeUnpin for PrefetchHint
impl UnwindSafe for PrefetchHint
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