Enum cranelift_codegen::settings::detail::Detail [−][src]
The different kind of settings along with descriptor bits that depend on the kind.
Variants
A boolean setting only uses one bit, numbered from LSB.
Fields of Bool
bit: u80-7.
A numerical setting uses the whole byte.
An Enum setting uses a range of enumerators.
Fields of Enum
A preset is not an individual setting, it is a collection of settings applied at once.
The Descriptor::offset field refers to the PRESETS table.
Implementations
impl Detail[src]
pub fn is_preset(self) -> bool[src]
Check if a detail is a Detail::Preset. Useful because the Descriptor offset field has a different meaning when the detail is a preset.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Detail
impl Send for Detail
impl Sync for Detail
impl Unpin for Detail
impl UnwindSafe for Detail
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> CallHasher for T where
T: Hash, [src]
T: Hash,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,