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§