pub unsafe trait Flag: FlagPriv { }
Expand description
Trait implemented by structs that can contain the flag of a bits union. Used in combination
with Align
and BitsUnionContainer
to ensure bits unions are inserted correctly.
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.