pub struct PrefetchOperation<'c> { /* private fields */ }
Expand description
An intr.prefetch
operation.
Implementations§
source§impl<'c> PrefetchOperation<'c>
impl<'c> PrefetchOperation<'c>
sourcepub fn as_operation(&self) -> &Operation<'c>
pub fn as_operation(&self) -> &Operation<'c>
Returns a generic operation.
sourcepub fn builder(
context: &'c Context,
location: Location<'c>
) -> PrefetchOperationBuilder<'c, Unset, Unset, Unset, Unset>
pub fn builder( context: &'c Context, location: Location<'c> ) -> PrefetchOperationBuilder<'c, Unset, Unset, Unset, Unset>
Creates a builder.
pub fn addr(&self) -> Result<Value<'c, '_>, Error>
pub fn rw(&self) -> Result<IntegerAttribute<'c>, Error>
pub fn set_rw(&mut self, value: IntegerAttribute<'c>)
pub fn hint(&self) -> Result<IntegerAttribute<'c>, Error>
pub fn set_hint(&mut self, value: IntegerAttribute<'c>)
pub fn cache(&self) -> Result<IntegerAttribute<'c>, Error>
pub fn set_cache(&mut self, value: IntegerAttribute<'c>)
Trait Implementations§
source§impl<'c> From<PrefetchOperation<'c>> for Operation<'c>
impl<'c> From<PrefetchOperation<'c>> for Operation<'c>
source§fn from(operation: PrefetchOperation<'c>) -> Self
fn from(operation: PrefetchOperation<'c>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for PrefetchOperation<'c>
impl<'c> !Send for PrefetchOperation<'c>
impl<'c> !Sync for PrefetchOperation<'c>
impl<'c> Unpin for PrefetchOperation<'c>
impl<'c> UnwindSafe for PrefetchOperation<'c>
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