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

pub(crate) struct Setting {
    pub name: &'static str,
    pub comment: &'static str,
    pub specific: SpecificSetting,
    pub byte_offset: u8,
}

Fields

name: &'static strcomment: &'static strspecific: SpecificSettingbyte_offset: u8

Methods

impl Setting[src]

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

fn byte_for_value(&self, v: bool) -> u8[src]

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

Trait Implementations

impl Eq for Setting[src]

impl Hash for Setting[src]

impl PartialEq<Setting> for Setting[src]

impl StructuralEq for Setting[src]

impl StructuralPartialEq for Setting[src]

Auto Trait Implementations

impl RefUnwindSafe for Setting

impl Send for Setting

impl Sync for Setting

impl Unpin for Setting

impl UnwindSafe for Setting

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.