[−][src]Trait enumflags2::RawBitFlags
A trait automatically implemented by derive(EnumFlags)
to make the enum a valid type parameter
for BitFlags.
Associated Types
type Type: BitFlagNum
The underlying integer type.
Required methods
fn all() -> Self::Type
Return a value with all flag bits set.
fn bits(self) -> Self::Type
Return the bits as a number type.
fn flag_list() -> &'static [Self]
Return a slice that contains each variant exactly one.