Trait layered_bitset::BitSet[][src]

pub trait BitSet {
    const UPPER_BOUND: u32;

    fn get(&self, index: u32) -> bool;
fn find_set(&self, lower_bound: u32) -> Option<u32>; fn is_empty(&self) -> bool { ... } }
👎 Deprecated:

use bitsetium crate instead

Expand description

Common trait for all bitsets in bitseto crate.

Associated Constants

👎 Deprecated:

use bitsetium crate instead

Upper bound for this bitset indices. Implementation is expected to panic if index equal to or greter than UPPER_BOUND is speicifed.

Required methods

👎 Deprecated:

use bitsetium crate instead

Returns bit state at specified index.

Panics

This function may panic if index is equal to or greter than UPPER_BOUND.

👎 Deprecated:

use bitsetium crate instead

Returns index of first set bit at index equal to or greter than specified.

Panics

This function may panic if index is equal to or greter than UPPER_BOUND.

Provided methods

👎 Deprecated:

use bitsetium crate instead

Returns true if no bit is set.

Implementations on Foreign Types

👎 Deprecated:

use bitsetium crate instead

👎 Deprecated:

use bitsetium crate instead

👎 Deprecated:

use bitsetium crate instead

👎 Deprecated:

use bitsetium crate instead

👎 Deprecated:

use bitsetium crate instead

👎 Deprecated:

use bitsetium crate instead

Implementors