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

Interface EnumSetType

enumset/src/traits.rs:15–15  ·  view source on GitHub ↗

The trait used to define enum types that may be used with [`EnumSet`]. This trait must be implemented using `#[derive(EnumSetType)]`, is not public API, and its internal structure may change at any time with no warning. For full documentation on the procedural derive and its options, see [`#[derive(EnumSetType)]`](derive@crate::EnumSetType). [`EnumSet`]: crate::set::EnumSet

Source from the content-addressed store, hash-verified

13///
14/// [`EnumSet`]: crate::set::EnumSet
15pub unsafe trait EnumSetType: Copy + Eq + EnumSetTypePrivate {}
16
17/// An [`EnumSetType`] for which [`EnumSet`]s have a guaranteed in-memory representation.
18///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected