Skip to main content

PublicFlags

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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§