Trait swiss_army_knife::bit_set::BitSetAware [−][src]
pub trait BitSetAware: Sized + Into<u16> + TryFrom<u16, Error = BitSetAwareTryFromU16Error> + ParseNumber + FromBytes<Error = ParseNumberError> + Copy + Clone + PartialEq + Eq + PartialOrd + Ord + Hash + Into<u32> + Into<u64> + Into<usize> + Into<i32> + Into<i64> + Into<isize> { const LinuxMaximum: u32; const InclusiveMinimum: Self; const InclusiveMaximum: Self; fn into_bit_set(self) -> BitSet<Self> { ... } }
Expand description
A structure that can be stored in a bit set.
Associated Constants
const LinuxMaximum: u32
const LinuxMaximum: u32
Exclusive maximum (count) that Linux enforces or is compiled for.
Defined at u32
to allow for (u16::MAX + 1)
.
(ie the maximum for LinuxMaximum
is 65,536
.
const InclusiveMinimum: Self
const InclusiveMinimum: Self
Minimum.
const InclusiveMaximum: Self
const InclusiveMaximum: Self
Maixmum.
Provided methods
fn into_bit_set(self) -> BitSet<Self>
fn into_bit_set(self) -> BitSet<Self>
Converts item into set of item.