Trait rustv::isa::IsaType
[−]
[src]
pub trait IsaType { type Unsigned; type Signed; fn as_signed(self) -> Self::Signed; fn as_signed_word(self) -> SignedWord; fn as_word(self) -> Word; fn as_half_word(self) -> HalfWord; fn as_byte(self) -> Byte; fn as_address(self) -> Address; fn as_bytes(self) -> Vec<Byte>; }
Associated Types
Required Methods
fn as_signed(self) -> Self::Signed
fn as_signed_word(self) -> SignedWord
fn as_word(self) -> Word
fn as_half_word(self) -> HalfWord
fn as_byte(self) -> Byte
fn as_address(self) -> Address
fn as_bytes(self) -> Vec<Byte>
Converts the type into bytes, LSB-first.
Implementors
impl IsaType for Word
impl IsaType for SignedWord
impl IsaType for HalfWord
impl IsaType for SignedHalfWord
impl IsaType for Byte
impl IsaType for SignedByte