Enum cranelift_codegen::settings::detail::Detail
source · pub enum Detail {
Bool {
bit: u8,
},
Num,
Enum {
last: u8,
enumerators: u16,
},
Preset,
}
Expand description
The different kind of settings along with descriptor bits that depend on the kind.
Variants§
Bool
A boolean setting only uses one bit, numbered from LSB.
Num
A numerical setting uses the whole byte.
Enum
Fields
An Enum setting uses a range of enumerators.
Preset
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§
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more