pub trait LengthMap: Copy + Binary + BitAnd<Output = Self> + BitOr<Output = Self> + Not<Output = Self> + Default + Deref<Target = BitSlice> + DerefMut<Target = BitSlice> + Eq {
    const ZERO: Self;
}
Expand description

Underlying bit-vector-like type used to represent bitmaps of IP prefix-lengths.

Required Associated Constants§

source

const ZERO: Self

The all-zeros value of Self.

Implementations on Foreign Types§

source§

impl LengthMap for BitArray<[usize; 5], Lsb0>

source§

const ZERO: Self = Self::ZERO

source§

impl LengthMap for BitArray<[usize; 2], Lsb0>

source§

const ZERO: Self = Self::ZERO

Implementors§