bitflags::traits

Trait PublicFlags

Source
pub trait PublicFlags {
    type Primitive: Primitive;
    type Internal;
}
Expand description

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

Required Associated Types§

Source

type Primitive: Primitive

The type of the underlying storage.

Source

type Internal

The type of the internal field on the generated flags type.

Implementors§

impl PublicFlags for Mode

impl PublicFlags for Mode

impl PublicFlags for Kind