Trait RawBitFlags

Source
pub trait RawBitFlags: Copy + Clone {
    type Type: BitFlagNum;

    // Required methods
    fn all() -> Self::Type;
    fn bits(self) -> Self::Type;
}

Required Associated Types§

Required Methods§

Source

fn all() -> Self::Type

Source

fn bits(self) -> Self::Type

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§