Trait malachite_base::num::logic::traits::TrailingZeros
source · [−]pub trait TrailingZeros {
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
sourceimpl TrailingZeros for u8
impl TrailingZeros for u8
sourcefn 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.
sourceimpl TrailingZeros for u16
impl TrailingZeros for u16
sourcefn 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.
sourceimpl TrailingZeros for u32
impl TrailingZeros for u32
sourcefn 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.
sourceimpl TrailingZeros for u64
impl TrailingZeros for u64
sourcefn 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.
sourceimpl TrailingZeros for u128
impl TrailingZeros for u128
sourcefn 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.
sourceimpl TrailingZeros for usize
impl TrailingZeros for usize
sourcefn 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.
sourceimpl TrailingZeros for i8
impl TrailingZeros for i8
sourcefn 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.
sourceimpl TrailingZeros for i16
impl TrailingZeros for i16
sourcefn 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.
sourceimpl TrailingZeros for i32
impl TrailingZeros for i32
sourcefn 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.
sourceimpl TrailingZeros for i64
impl TrailingZeros for i64
sourcefn 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.
sourceimpl TrailingZeros for i128
impl TrailingZeros for i128
sourcefn 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.
sourceimpl TrailingZeros for isize
impl TrailingZeros for isize
sourcefn 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.