pub trait AsBitIndex {
    // Required method
    fn as_bit_index(&self) -> BitIndex;
}
Expand description

Helper trait to convert primitives to BitIndex.

Required Methods§

source

fn as_bit_index(&self) -> BitIndex

Returns the index of the corresponding bit in Bitfield.

Implementations on Foreign Types§

source§

impl AsBitIndex for usize

source§

impl AsBitIndex for CoreIndex

source§

impl AsBitIndex for CandidateIndex

Implementors§