pub trait BitIteratorBE: Sized {
// Required method
fn bit_be_iter(self) -> impl Iterator<Item = bool>;
// Provided method
fn bit_be_trimmed_iter(self) -> impl Iterator<Item = bool> { ... }
}Expand description
Iterates over bits in big-endian order.
Required Methods§
Sourcefn bit_be_iter(self) -> impl Iterator<Item = bool>
fn bit_be_iter(self) -> impl Iterator<Item = bool>
Returns an iterator over the bits of the integer, starting from the most significant bit.
Provided Methods§
Sourcefn bit_be_trimmed_iter(self) -> impl Iterator<Item = bool>
fn bit_be_trimmed_iter(self) -> impl Iterator<Item = bool>
Returns an iterator over the bits of the integer, starting from the most significant bit, and without leading zeroes.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.