Struct probe_rs::RegisterId
source · [−]pub struct RegisterId(pub u16);
Expand description
The location of a CPU \register. This is not an actual memory address, but a core specific location that represents a specific core register.
Tuple Fields
0: u16
Trait Implementations
sourceimpl Clone for RegisterId
impl Clone for RegisterId
sourcefn clone(&self) -> RegisterId
fn clone(&self) -> RegisterId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RegisterId
impl Debug for RegisterId
sourceimpl From<&RegisterDescription> for RegisterId
impl From<&RegisterDescription> for RegisterId
sourcefn from(description: &RegisterDescription) -> RegisterId
fn from(description: &RegisterDescription) -> RegisterId
Converts to this type from the input type.
sourceimpl From<RegisterDescription> for RegisterId
impl From<RegisterDescription> for RegisterId
sourcefn from(description: RegisterDescription) -> RegisterId
fn from(description: RegisterDescription) -> RegisterId
Converts to this type from the input type.
sourceimpl From<RegisterId> for u32
impl From<RegisterId> for u32
sourcefn from(value: RegisterId) -> Self
fn from(value: RegisterId) -> Self
Converts to this type from the input type.
sourceimpl From<u16> for RegisterId
impl From<u16> for RegisterId
sourceimpl Hash for RegisterId
impl Hash for RegisterId
sourceimpl Ord for RegisterId
impl Ord for RegisterId
sourceimpl PartialEq<RegisterId> for RegisterId
impl PartialEq<RegisterId> for RegisterId
sourcefn eq(&self, other: &RegisterId) -> bool
fn eq(&self, other: &RegisterId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RegisterId) -> bool
fn ne(&self, other: &RegisterId) -> bool
This method tests for !=
.
sourceimpl PartialOrd<RegisterId> for RegisterId
impl PartialOrd<RegisterId> for RegisterId
sourcefn partial_cmp(&self, other: &RegisterId) -> Option<Ordering>
fn partial_cmp(&self, other: &RegisterId) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for RegisterId
impl Eq for RegisterId
impl StructuralEq for RegisterId
impl StructuralPartialEq for RegisterId
Auto Trait Implementations
impl RefUnwindSafe for RegisterId
impl Send for RegisterId
impl Sync for RegisterId
impl Unpin for RegisterId
impl UnwindSafe for RegisterId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.