[−][src]Trait algorithms_edu::data_structures::bit::Bit
Required methods
pub fn set_bit(&mut self, pos: usize)[src]
pub fn clear_bit(&mut self, pos: usize)[src]
pub fn get_bit(&self, pos: usize) -> bool[src]
pub fn toggle_bit(&mut self, pos: usize)[src]
pub fn set_all(&mut self, pos: usize)[src]
Returns a number with the first n bits set to 1