[][src]Trait sfcpl::bitset::BitsOps

pub trait BitsOps {
    fn count_zeros(&self) -> usize;
fn count_ones(&self) -> usize;
fn grow(&mut self, bits: usize);
fn put(&mut self, bits: usize) -> bool;
fn toggle(&mut self, bit: usize);
fn set(&mut self, bit: usize, into: bool);
fn shl(&mut self, rhs: usize);
fn shr(&mut self, rhs: usize); }

Required methods

fn count_zeros(&self) -> usize

fn count_ones(&self) -> usize

fn grow(&mut self, bits: usize)

fn put(&mut self, bits: usize) -> bool

fn toggle(&mut self, bit: usize)

fn set(&mut self, bit: usize, into: bool)

fn shl(&mut self, rhs: usize)

fn shr(&mut self, rhs: usize)

Loading content...

Implementations on Foreign Types

impl BitsOps for Vec<bool>[src]

Loading content...

Implementors

Loading content...