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

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.

Minimum.

Maixmum.

Provided methods

Converts item into set of item.

Implementors