Trait kernel::types::TrailingZeros
source · [−]pub trait TrailingZeros {
fn trailing_zeros(&self) -> u32;
}
Expand description
Implemented by integer types that allow counting the number of trailing zeroes.
Required Methods
sourcefn trailing_zeros(&self) -> u32
fn trailing_zeros(&self) -> u32
Returns the number of trailing zeroes in the binary representation of self
.