Struct cretonne_codegen::settings::detail::Descriptor [] [src]

pub struct Descriptor {
    pub name: &'static str,
    pub offset: u32,
    pub detail: Detail,
}

A setting descriptor holds the information needed to generically set and print a setting.

Each settings group will be represented as a constant DESCRIPTORS array.

Fields

Lower snake-case name of setting as defined in meta.

Offset of byte containing this setting.

Additional details, depending on the kind of setting.

Trait Implementations

Auto Trait Implementations

impl Send for Descriptor

impl Sync for Descriptor