pub struct AssemblerSettings {
pub shuffle_basic_blocks: bool,
pub instruction_prefix: String,
pub random_prefix_chance: f64,
}Expand description
Assembler-level codegen settings.
Fields§
§shuffle_basic_blocks: boolWhether to shuffle basic blocks.
instruction_prefix: StringInstruction prefix to prepend to emitted instructions.
random_prefix_chance: f64Chance of randomly applying the prefix.
Trait Implementations§
Source§impl Clone for AssemblerSettings
impl Clone for AssemblerSettings
Source§fn clone(&self) -> AssemblerSettings
fn clone(&self) -> AssemblerSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AssemblerSettings
impl Debug for AssemblerSettings
Source§impl<'de> Deserialize<'de> for AssemblerSettings
impl<'de> Deserialize<'de> for AssemblerSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AssemblerSettings
impl RefUnwindSafe for AssemblerSettings
impl Send for AssemblerSettings
impl Sync for AssemblerSettings
impl Unpin for AssemblerSettings
impl UnwindSafe for AssemblerSettings
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