BitIteratorBE

Trait BitIteratorBE 

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

Source

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§

Source

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.

Implementations on Foreign Types§

Source§

impl BitIteratorBE for &[Limb]

Source§

fn bit_be_iter(self) -> impl Iterator<Item = bool>

Source§

impl BitIteratorBE for u8

Source§

fn bit_be_iter(self) -> impl Iterator<Item = bool>

Source§

impl BitIteratorBE for u16

Source§

fn bit_be_iter(self) -> impl Iterator<Item = bool>

Source§

impl BitIteratorBE for u32

Source§

fn bit_be_iter(self) -> impl Iterator<Item = bool>

Source§

impl BitIteratorBE for u64

Source§

fn bit_be_iter(self) -> impl Iterator<Item = bool>

Source§

impl BitIteratorBE for u128

Source§

fn bit_be_iter(self) -> impl Iterator<Item = bool>

Source§

impl BitIteratorBE for usize

Source§

fn bit_be_iter(self) -> impl Iterator<Item = bool>

Implementors§

Source§

impl<const N: usize> BitIteratorBE for Uint<N>