BitEnum

Trait BitEnum 

Source
pub trait BitEnum: Into<Self::Scalar> {
    type Scalar: BitAnd<Output = Self::Scalar> + BitOr<Output = Self::Scalar> + Not<Output = Self::Scalar> + From<u8> + PartialEq + Copy;
}

Required Associated Types§

Source

type Scalar: BitAnd<Output = Self::Scalar> + BitOr<Output = Self::Scalar> + Not<Output = Self::Scalar> + From<u8> + PartialEq + Copy

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.

Implementors§