Trait coca::collections::option_group::Flags
source · [−]pub trait Flags: Copy + Into<u64> {
const ZERO: Self;
fn is_set(&self, n: u32) -> bool;
fn set(&mut self, n: u32);
fn clear(&mut self, n: u32);
fn is_clear(&self, n: u32) -> bool { ... }
}
Expand description
Types that can be used as a flag set.