Trait LengthMap

Source
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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

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

Source§

const ZERO: Self = Self::ZERO

Source§

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

Source§

const ZERO: Self = Self::ZERO

Implementors§