RegisterValue

Enum RegisterValue 

Source
pub enum RegisterValue {
Show 13 variants U8(u8), U16(u16), U32(u32), U64(u64), I8(i8), I16(i16), I32(i32), I64(i64), Float(f32), Double(f64), LongDouble(F80), Byte64(Byte64), Byte128(Byte128),
}

Variants§

§

U8(u8)

§

U16(u16)

§

U32(u32)

§

U64(u64)

§

I8(i8)

§

I16(i16)

§

I32(i32)

§

I64(i64)

§

Float(f32)

§

Double(f64)

§

LongDouble(F80)

§

Byte64(Byte64)

§

Byte128(Byte128)

Trait Implementations§

Source§

impl Display for RegisterValue

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<[u8; 16]> for RegisterValue

Source§

fn from(val: Byte128) -> Self

Converts to this type from the input type.
Source§

impl From<[u8; 8]> for RegisterValue

Source§

fn from(val: Byte64) -> Self

Converts to this type from the input type.
Source§

impl From<F80> for RegisterValue

Source§

fn from(val: F80) -> Self

Converts to this type from the input type.
Source§

impl From<RegisterValue> for Byte128

Source§

fn from(val: RegisterValue) -> Self

Converts to this type from the input type.
Source§

impl From<RegisterValue> for Byte64

Source§

fn from(val: RegisterValue) -> Self

Converts to this type from the input type.
Source§

impl From<RegisterValue> for F80

Source§

fn from(val: RegisterValue) -> Self

Converts to this type from the input type.
Source§

impl From<RegisterValue> for f32

Source§

fn from(val: RegisterValue) -> Self

Converts to this type from the input type.
Source§

impl From<RegisterValue> for f64

Source§

fn from(val: RegisterValue) -> Self

Converts to this type from the input type.
Source§

impl From<RegisterValue> for i16

Source§

fn from(val: RegisterValue) -> Self

Converts to this type from the input type.
Source§

impl From<RegisterValue> for i32

Source§

fn from(val: RegisterValue) -> Self

Converts to this type from the input type.
Source§

impl From<RegisterValue> for i64

Source§

fn from(val: RegisterValue) -> Self

Converts to this type from the input type.
Source§

impl From<RegisterValue> for i8

Source§

fn from(val: RegisterValue) -> Self

Converts to this type from the input type.
Source§

impl From<RegisterValue> for u16

Source§

fn from(val: RegisterValue) -> Self

Converts to this type from the input type.
Source§

impl From<RegisterValue> for u32

Source§

fn from(val: RegisterValue) -> Self

Converts to this type from the input type.
Source§

impl From<RegisterValue> for u64

Source§

fn from(val: RegisterValue) -> Self

Converts to this type from the input type.
Source§

impl From<RegisterValue> for u8

Source§

fn from(val: RegisterValue) -> Self

Converts to this type from the input type.
Source§

impl From<f32> for RegisterValue

Source§

fn from(val: f32) -> Self

Converts to this type from the input type.
Source§

impl From<f64> for RegisterValue

Source§

fn from(val: f64) -> Self

Converts to this type from the input type.
Source§

impl From<i16> for RegisterValue

Source§

fn from(val: i16) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for RegisterValue

Source§

fn from(val: i32) -> Self

Converts to this type from the input type.
Source§

impl From<i64> for RegisterValue

Source§

fn from(val: i64) -> Self

Converts to this type from the input type.
Source§

impl From<i8> for RegisterValue

Source§

fn from(val: i8) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for RegisterValue

Source§

fn from(val: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for RegisterValue

Source§

fn from(val: u32) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for RegisterValue

Source§

fn from(val: u64) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for RegisterValue

Source§

fn from(val: u8) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.