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