doc.rust-lang.org
pub trait Mul<Rhs>
The multiplication operator *.
trait
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
fn div_assign(&mut self, rhs: Rhs)
Performs the /= operation.
method
core
Stable since 1.8.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait DivAssign<Rhs>
The division assignment operator /=.
trait
core
Stable since 1.8.0
Version 1.100.0-nightly
doc.rust-lang.org
fn div(self, rhs: Rhs) -> <Self as >::Output
Performs the / operation.
method
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
type Output
The resulting type after applying the / operator.
associated_type
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait Div<Rhs>
The division operator /.
trait
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
fn add_assign(&mut self, rhs: Rhs)
Performs the += operation.
method
core
Stable since 1.8.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait AddAssign<Rhs>
The addition assignment operator +=.
trait
core
Stable since 1.8.0
Version 1.100.0-nightly
doc.rust-lang.org
fn add(self, rhs: Rhs) -> <Self as >::Output
Performs the + operation.
method
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
type Output
The resulting type after applying the + operator.
associated_type
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait Add<Rhs>
The addition operator +.
trait
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod ops
Overloadable operators.
module
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn reverse_bits(self) -> Self
Reverses the bit pattern of the integer.
method
core
Stable since 1.37.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct Wrapping<T>
Provides intentionally-wrapped arithmetic on T.
struct
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn trailing_zeros(self) -> u32
Returns the number of trailing zeros in the binary representation of self.
method
core
Stable since 1.74.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn to_le(self) -> Self
Converts self to little endian from the target's endianness.
method
core
Stable since 1.74.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn to_be(self) -> Self
Converts self to big endian from the target's endianness.
method
core
Stable since 1.74.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn swap_bytes(self) -> Self
Reverses the byte order of the integer.
method
core
Stable since 1.74.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn signum(self) -> Saturating<isize>
Returns a number representing sign of self.
method
core
Stable since 1.74.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn rotate_right(self, n: u32) -> Self
Shifts the bits to the right by a specified amount, n, saturating the truncated bits to the beginning of the resulting integer.
method
core
Stable since 1.74.0
Version 1.100.0-nightly