pub trait EnumerationValue<E>: Copy {
type GlibType;
const ZERO: E;
}
Expand description
helper trait to define the zero value and the associated GLib type.
Required Associated Constants§
Required Associated Types§
Object Safety§
This trait is not object safe.
Implementors§
source§impl EnumerationValue<EnumValue> for EnumValue
impl EnumerationValue<EnumValue> for EnumValue
Define the zero value and the associated GLib type.
source§impl EnumerationValue<FlagsValue> for FlagsValue
impl EnumerationValue<FlagsValue> for FlagsValue
Define the zero value and the associated GLib type.