#[repr(transparent)]pub struct EvaluateContext(_);
Expand description
Evaluate Context Command TRB
Implementations§
source§impl EvaluateContext
impl EvaluateContext
sourcepub fn set_input_context_pointer(&mut self, p: u64) -> &mut Self
pub fn set_input_context_pointer(&mut self, p: u64) -> &mut Self
Sets the value of the Input Context Pointer field.
Panics
This method panics if p
is not 16-byte aligned.
sourcepub fn input_context_pointer(&self) -> u64
pub fn input_context_pointer(&self) -> u64
Returns the value of the Input Context Pointer field.
sourcepub fn set_slot_id(&mut self, value: u8) -> &mut Self
pub fn set_slot_id(&mut self, value: u8) -> &mut Self
Sets the value of the Slot ID field.
Trait Implementations§
source§impl AsRef<[u32]> for EvaluateContext
impl AsRef<[u32]> for EvaluateContext
source§impl Clone for EvaluateContext
impl Clone for EvaluateContext
source§fn clone(&self) -> EvaluateContext
fn clone(&self) -> EvaluateContext
Returns a copy 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 EvaluateContext
impl Debug for EvaluateContext
source§impl Default for EvaluateContext
impl Default for EvaluateContext
source§impl From<EvaluateContext> for [u32; 4]
impl From<EvaluateContext> for [u32; 4]
source§fn from(t: EvaluateContext) -> Self
fn from(t: EvaluateContext) -> Self
Converts to this type from the input type.
source§impl From<EvaluateContext> for Allowed
impl From<EvaluateContext> for Allowed
source§fn from(v: EvaluateContext) -> Self
fn from(v: EvaluateContext) -> Self
Converts to this type from the input type.
source§impl Hash for EvaluateContext
impl Hash for EvaluateContext
source§impl Ord for EvaluateContext
impl Ord for EvaluateContext
source§fn cmp(&self, other: &EvaluateContext) -> Ordering
fn cmp(&self, other: &EvaluateContext) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<EvaluateContext> for EvaluateContext
impl PartialEq<EvaluateContext> for EvaluateContext
source§fn eq(&self, other: &EvaluateContext) -> bool
fn eq(&self, other: &EvaluateContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<EvaluateContext> for EvaluateContext
impl PartialOrd<EvaluateContext> for EvaluateContext
source§fn partial_cmp(&self, other: &EvaluateContext) -> Option<Ordering>
fn partial_cmp(&self, other: &EvaluateContext) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for EvaluateContext
impl Eq for EvaluateContext
impl StructuralEq for EvaluateContext
impl StructuralPartialEq for EvaluateContext
Auto Trait Implementations§
impl RefUnwindSafe for EvaluateContext
impl Send for EvaluateContext
impl Sync for EvaluateContext
impl Unpin for EvaluateContext
impl UnwindSafe for EvaluateContext
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