MCPcopy Create free account
hub / github.com/Lymia/enumset / all

Method all

enumset/src/impl_set.rs:122–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120 /// Returns an `EnumSet` containing all valid variants of the enum.
121 #[inline(always)]
122 pub const fn all() -> Self {
123 Self::ALL_REPR
124 }
125
126 /// Total number of bits used by this type. Note that the actual amount of space used is
127 /// rounded up to the next highest integer type (`u8`, `u16`, `u32`, `u64`, or `u128`).

Callers 1

is_emptyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected