Trait FlagTrait

Source
pub trait FlagTrait:
    Copy
    + Default
    + BitOr<Output = Self>
    + Into<u32>
    + From<u32>
    + Send
    + Sync
    + 'static { }

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§

Source§

impl<T: Copy + Default + BitOr<Output = Self> + Into<u32> + From<u32> + Send + Sync + 'static> FlagTrait for T