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

Interface EnumSetConstHelper

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

Retrieves a helper type for constant time operations on `EnumSet`s.

Source from the content-addressed store, hash-verified

70
71/// Retrieves a helper type for constant time operations on `EnumSet`s.
72pub unsafe trait EnumSetConstHelper {
73 /// A helper type used to convert values to EnumSets at compile-time.
74 type ConstInitHelper;
75 /// The instance of the `ConstInitHelper`.
76 const CONST_INIT_HELPER: Self::ConstInitHelper;
77
78 /// A helper type used to implement compile-time operations on enums.
79 type ConstOpHelper;
80 /// The instance of the `ConstOpHelper`.
81 const CONST_OP_HELPER: Self::ConstOpHelper;
82}

Callers

nothing calls this directly

Implementers 1

impl_set.rsenumset/src/impl_set.rs

Calls

no outgoing calls

Tested by

no test coverage detected