pub trait InnerBitFlags: BitOr<Self> + PartialEq + Eq where Self: Sized {
type Type;
fn all() -> Self;
fn empty() -> Self;
fn is_empty(self) -> bool;
fn is_all(self) -> bool;
fn bits(self) -> Self::Type;
fn intersects(self, other: Self) -> bool;
fn contains(self, other: Self) -> bool;
fn not(self) -> Self;
fn from_bits(bits: Self::Type) -> Option<Self>;
fn from_bits_truncate(bits: Self::Type) -> Self;
fn insert(&mut self, other: Self);
fn remove(&mut self, other: Self);
fn toggle(&mut self, other: Self);
}
Associated Types
Required Methods
Implementors