Enum probe_rs::RegisterValue
source · [−]Expand description
A value of a core register
Creating a new RegisterValue
should be done using From or Into.
Converting a value back to a primitive type can be done with either
a match arm or TryInto
Variants
U32(u32)
32-bit unsigned integer
U64(u64)
64-bit unsigned integer
U128(u128)
128-bit unsigned integer, often used with SIMD / FP
Implementations
sourceimpl RegisterValue
impl RegisterValue
Trait Implementations
sourceimpl Clone for RegisterValue
impl Clone for RegisterValue
sourcefn clone(&self) -> RegisterValue
fn clone(&self) -> RegisterValue
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 RegisterValue
impl Debug for RegisterValue
sourceimpl Default for RegisterValue
impl Default for RegisterValue
sourceimpl Display for RegisterValue
impl Display for RegisterValue
sourceimpl From<u128> for RegisterValue
impl From<u128> for RegisterValue
sourceimpl From<u32> for RegisterValue
impl From<u32> for RegisterValue
sourceimpl From<u64> for RegisterValue
impl From<u64> for RegisterValue
sourceimpl PartialEq<RegisterValue> for RegisterValue
impl PartialEq<RegisterValue> for RegisterValue
sourceimpl PartialOrd<RegisterValue> for RegisterValue
impl PartialOrd<RegisterValue> for RegisterValue
sourcefn partial_cmp(&self, other: &Self) -> Option<Ordering>
fn partial_cmp(&self, other: &Self) -> 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
sourceimpl TryInto<u128> for RegisterValue
impl TryInto<u128> for RegisterValue
sourceimpl TryInto<u32> for RegisterValue
impl TryInto<u32> for RegisterValue
sourceimpl TryInto<u64> for RegisterValue
impl TryInto<u64> for RegisterValue
impl Copy for RegisterValue
Auto Trait Implementations
impl RefUnwindSafe for RegisterValue
impl Send for RegisterValue
impl Sync for RegisterValue
impl Unpin for RegisterValue
impl UnwindSafe for RegisterValue
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