pub struct PrefetchEntry {
pub ptr: u64,
pub byte_size: usize,
pub device_ordinal: i32,
}Expand description
An entry in a PrefetchPlan recording a single prefetch operation.
Fields§
§ptr: u64Device pointer to the start of the region.
byte_size: usizeSize of the region in bytes.
device_ordinal: i32Target device ordinal.
Trait Implementations§
Source§impl Clone for PrefetchEntry
impl Clone for PrefetchEntry
Source§fn clone(&self) -> PrefetchEntry
fn clone(&self) -> PrefetchEntry
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 PrefetchEntry
impl Debug for PrefetchEntry
Source§impl PartialEq for PrefetchEntry
impl PartialEq for PrefetchEntry
impl Copy for PrefetchEntry
impl Eq for PrefetchEntry
impl StructuralPartialEq for PrefetchEntry
Auto Trait Implementations§
impl Freeze for PrefetchEntry
impl RefUnwindSafe for PrefetchEntry
impl Send for PrefetchEntry
impl Sync for PrefetchEntry
impl Unpin for PrefetchEntry
impl UnsafeUnpin for PrefetchEntry
impl UnwindSafe for PrefetchEntry
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