Trait 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§

Implementations on Foreign Types§

Source§

impl TrailingZeros for i8

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn trailing_zeros(self) -> u64

This is a wrapper over the trailing_zeros functions in the standard library, for example this one.

Implementors§