Trait BitFlagNum

Source
pub trait BitFlagNum:
    Default
    + BitOr<Self, Output = Self>
    + BitAnd<Self, Output = Self>
    + BitXor<Self, Output = Self>
    + Not<Output = Self>
    + PartialOrd<Self>
    + Copy
    + Clone { }

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 BitFlagNum for u8

Source§

impl BitFlagNum for u16

Source§

impl BitFlagNum for u32

Source§

impl BitFlagNum for u64

Source§

impl BitFlagNum for usize

Implementors§