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

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

name: &'static str

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

offset: u32

Offset of byte containing this setting.

detail: Detail

Additional details, depending on the kind of setting.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.