[][src]Struct dynasm::NumericRepr

pub struct NumericRepr {
    pub size: Size,
    pub signed: bool,
}

A number representation (sign and size).

Fields

size: Sizesigned: bool

Implementations

impl NumericRepr[src]

pub const U8: NumericRepr[src]

pub const I8: NumericRepr[src]

pub const U16: NumericRepr[src]

pub const I16: NumericRepr[src]

pub const U32: NumericRepr[src]

pub const I32: NumericRepr[src]

pub const U64: NumericRepr[src]

pub const I64: NumericRepr[src]

pub const fn signed(size: Size) -> Self[src]

pub const fn unsigned(size: Size) -> Self[src]

Trait Implementations

impl Clone for NumericRepr[src]

impl Copy for NumericRepr[src]

impl Debug for NumericRepr[src]

impl Eq for NumericRepr[src]

impl Hash for NumericRepr[src]

impl Ord for NumericRepr[src]

impl PartialEq<NumericRepr> for NumericRepr[src]

impl PartialOrd<NumericRepr> for NumericRepr[src]

impl StructuralEq for NumericRepr[src]

impl StructuralPartialEq for NumericRepr[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.