[][src]Struct cranelift_codegen_meta::cdsl::settings::SettingGroup

pub(crate) struct SettingGroup {
    pub name: &'static str,
    pub settings: Vec<Setting>,
    pub bool_start_byte_offset: u8,
    pub settings_size: u8,
    pub presets: Vec<Preset>,
    pub predicates: Vec<Predicate>,
}

Fields

name: &'static strsettings: Vec<Setting>bool_start_byte_offset: u8settings_size: u8presets: Vec<Preset>predicates: Vec<Predicate>

Methods

impl SettingGroup[src]

fn num_bool_settings(&self) -> u8[src]

pub fn byte_size(&self) -> u8[src]

pub fn get_bool(&self, name: &'static str) -> (BoolSettingIndex, &Self)[src]

pub fn predicate_by_name(&self, name: &'static str) -> u8[src]

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.