Struct rustv::isa::Word
[−]
[src]
pub struct Word(pub u32);
Methods
impl Word
[src]
fn wrapping_add(self, rhs: Self) -> Self
fn wrapping_sub(self, rhs: Self) -> Self
Trait Implementations
impl Clone for Word
[src]
fn clone(&self) -> Word
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for Word
[src]
impl Debug for Word
[src]
impl Eq for Word
[src]
impl Hash for Word
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Ord for Word
[src]
fn cmp(&self, __arg_0: &Word) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl PartialEq for Word
[src]
fn eq(&self, __arg_0: &Word) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Word) -> bool
This method tests for !=
.
impl PartialOrd for Word
[src]
fn partial_cmp(&self, __arg_0: &Word) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &Word) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &Word) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &Word) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &Word) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Add<Word> for Word
[src]
type Output = Word
The resulting type after applying the +
operator
fn add(self, _rhs: Word) -> Word
The method for the +
operator
impl Add<u32> for Word
[src]
type Output = Word
The resulting type after applying the +
operator
fn add(self, _rhs: u32) -> Word
The method for the +
operator
impl AddAssign<Word> for Word
[src]
fn add_assign(&mut self, _rhs: Word)
The method for the +=
operator
impl AddAssign<u32> for Word
[src]
fn add_assign(&mut self, _rhs: u32)
The method for the +=
operator
impl Sub<Word> for Word
[src]
type Output = Word
The resulting type after applying the -
operator
fn sub(self, _rhs: Word) -> Word
The method for the -
operator
impl Sub<u32> for Word
[src]
type Output = Word
The resulting type after applying the -
operator
fn sub(self, _rhs: u32) -> Word
The method for the -
operator
impl Mul<Word> for Word
[src]
type Output = Word
The resulting type after applying the *
operator
fn mul(self, _rhs: Word) -> Word
The method for the *
operator
impl Mul<u32> for Word
[src]
type Output = Word
The resulting type after applying the *
operator
fn mul(self, _rhs: u32) -> Word
The method for the *
operator
impl Div<Word> for Word
[src]
type Output = Word
The resulting type after applying the /
operator
fn div(self, _rhs: Word) -> Word
The method for the /
operator
impl Div<u32> for Word
[src]
type Output = Word
The resulting type after applying the /
operator
fn div(self, _rhs: u32) -> Word
The method for the /
operator
impl Rem<Word> for Word
[src]
type Output = Word
The resulting type after applying the %
operator
fn rem(self, _rhs: Word) -> Word
The method for the %
operator
impl Rem<u32> for Word
[src]
type Output = Word
The resulting type after applying the %
operator
fn rem(self, _rhs: u32) -> Word
The method for the %
operator
impl Shr<Word> for Word
[src]
type Output = Word
The resulting type after applying the >>
operator
fn shr(self, _rhs: Word) -> Word
The method for the >>
operator
impl Shr<u32> for Word
[src]
type Output = Word
The resulting type after applying the >>
operator
fn shr(self, _rhs: u32) -> Word
The method for the >>
operator
impl Shl<Word> for Word
[src]
type Output = Word
The resulting type after applying the <<
operator
fn shl(self, _rhs: Word) -> Word
The method for the <<
operator
impl Shl<u32> for Word
[src]
type Output = Word
The resulting type after applying the <<
operator
fn shl(self, _rhs: u32) -> Word
The method for the <<
operator
impl BitAnd<Word> for Word
[src]
type Output = Word
The resulting type after applying the &
operator
fn bitand(self, _rhs: Word) -> Word
The method for the &
operator
impl BitAnd<u32> for Word
[src]
type Output = Word
The resulting type after applying the &
operator
fn bitand(self, _rhs: u32) -> Word
The method for the &
operator
impl BitOr<Word> for Word
[src]
type Output = Word
The resulting type after applying the |
operator
fn bitor(self, _rhs: Word) -> Word
The method for the |
operator
impl BitOr<u32> for Word
[src]
type Output = Word
The resulting type after applying the |
operator
fn bitor(self, _rhs: u32) -> Word
The method for the |
operator
impl BitXor<Word> for Word
[src]
type Output = Word
The resulting type after applying the ^
operator
fn bitxor(self, _rhs: Word) -> Word
The method for the ^
operator
impl BitXor<u32> for Word
[src]
type Output = Word
The resulting type after applying the ^
operator
fn bitxor(self, _rhs: u32) -> Word
The method for the ^
operator
impl Display for Word
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl LowerHex for Word
[src]
impl UpperHex for Word
[src]
impl IsaType for Word
[src]
type Unsigned = Word
type Signed = SignedWord
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.