MCPcopy Create free account
hub / github.com/bitflags/bitflags / PublicFlags

Interface PublicFlags

src/traits.rs:452–458  ·  view source on GitHub ↗

A trait for referencing the `bitflags`-owned internal type without exposing it publicly.

Source from the content-addressed store, hash-verified

450/// A trait for referencing the `bitflags`-owned internal type
451/// without exposing it publicly.
452pub trait PublicFlags {
453 /// The type of the underlying storage.
454 type Primitive: Primitive;
455
456 /// The type of the internal field on the generated flags type.
457 type Internal;
458}
459
460#[doc(hidden)]
461#[deprecated(note = "use the `Flags` trait instead")]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected