Trait malachite_base::num::logic::traits::TrailingZeros
source · pub trait TrailingZeros {
// Required method
fn trailing_zeros(self) -> u64;
}
Expand description
Returns the number of trailing zeros in the binary representation of a number.
Required Methods§
fn trailing_zeros(self) -> u64
Implementations on Foreign Types§
source§impl TrailingZeros for i8
impl TrailingZeros for i8
source§fn trailing_zeros(self) -> u64
fn trailing_zeros(self) -> u64
This is a wrapper over the trailing_zeros
functions in the standard library, for
example this one.
source§impl TrailingZeros for i16
impl TrailingZeros for i16
source§fn trailing_zeros(self) -> u64
fn trailing_zeros(self) -> u64
This is a wrapper over the trailing_zeros
functions in the standard library, for
example this one.
source§impl TrailingZeros for i32
impl TrailingZeros for i32
source§fn trailing_zeros(self) -> u64
fn trailing_zeros(self) -> u64
This is a wrapper over the trailing_zeros
functions in the standard library, for
example this one.
source§impl TrailingZeros for i64
impl TrailingZeros for i64
source§fn trailing_zeros(self) -> u64
fn trailing_zeros(self) -> u64
This is a wrapper over the trailing_zeros
functions in the standard library, for
example this one.
source§impl TrailingZeros for i128
impl TrailingZeros for i128
source§fn trailing_zeros(self) -> u64
fn trailing_zeros(self) -> u64
This is a wrapper over the trailing_zeros
functions in the standard library, for
example this one.
source§impl TrailingZeros for isize
impl TrailingZeros for isize
source§fn trailing_zeros(self) -> u64
fn trailing_zeros(self) -> u64
This is a wrapper over the trailing_zeros
functions in the standard library, for
example this one.
source§impl TrailingZeros for u8
impl TrailingZeros for u8
source§fn trailing_zeros(self) -> u64
fn trailing_zeros(self) -> u64
This is a wrapper over the trailing_zeros
functions in the standard library, for
example this one.
source§impl TrailingZeros for u16
impl TrailingZeros for u16
source§fn trailing_zeros(self) -> u64
fn trailing_zeros(self) -> u64
This is a wrapper over the trailing_zeros
functions in the standard library, for
example this one.
source§impl TrailingZeros for u32
impl TrailingZeros for u32
source§fn trailing_zeros(self) -> u64
fn trailing_zeros(self) -> u64
This is a wrapper over the trailing_zeros
functions in the standard library, for
example this one.
source§impl TrailingZeros for u64
impl TrailingZeros for u64
source§fn trailing_zeros(self) -> u64
fn trailing_zeros(self) -> u64
This is a wrapper over the trailing_zeros
functions in the standard library, for
example this one.
source§impl TrailingZeros for u128
impl TrailingZeros for u128
source§fn trailing_zeros(self) -> u64
fn trailing_zeros(self) -> u64
This is a wrapper over the trailing_zeros
functions in the standard library, for
example this one.
source§impl TrailingZeros for usize
impl TrailingZeros for usize
source§fn trailing_zeros(self) -> u64
fn trailing_zeros(self) -> u64
This is a wrapper over the trailing_zeros
functions in the standard library, for
example this one.