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

pub(crate) struct Preset {
    pub name: &'static str,
    values: Vec<BoolSettingIndex>,
}

Fields

name: &'static strvalues: Vec<BoolSettingIndex>

Methods

impl Preset[src]

pub fn layout(&self, group: &SettingGroup) -> Vec<(u8, u8)>[src]

Trait Implementations

impl Eq for Preset[src]

impl Hash for Preset[src]

impl PartialEq<Preset> for Preset[src]

impl StructuralEq for Preset[src]

impl StructuralPartialEq for Preset[src]

Auto Trait Implementations

impl RefUnwindSafe for Preset

impl Send for Preset

impl Sync for Preset

impl Unpin for Preset

impl UnwindSafe for Preset

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.