Trait mgf::bitset::FixedSizeBitSet [] [src]

pub trait FixedSizeBitSet: Default + Binary {
    const NUM_BITS: usize;

    fn get(&self, i: usize) -> bool;
fn insert(&mut self, i: usize);
fn remove(&mut self, i: usize); }

A bit set of fixed, limited capacity.

Associated Constants

Maximum number of bits allowed in the set.

Required Methods

Retrieve a bit value at the index.

Set the bit at the given index.

Unset the bit at the given index.

Implementations on Foreign Types

impl FixedSizeBitSet for u8
[src]

[src]

[src]

[src]

impl FixedSizeBitSet for u16
[src]

[src]

[src]

[src]

impl FixedSizeBitSet for u32
[src]

[src]

[src]

[src]

impl FixedSizeBitSet for u64
[src]

[src]

[src]

[src]

Implementors