pub trait LeadingZeros {
    fn leading_zeros(self) -> u64;
}
Expand description

Returns the number of leading zeros in the binary representation of a number.

Required Methods

Implementations on Foreign Types

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

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

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

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

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

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

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

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

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

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

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

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

Implementors