pub struct LoopEncodeSemantics {
pub iterations: u32,
pub probability: u32,
pub semantics: Semantics,
pub bitwidths: BitWidths,
}
Expand description
Configuration for the Loop Encode Semantics pass.
Fields§
§iterations: u32
Number of times to attempt transformation.
probability: u32
Percent chance to apply transformation (0–100).
semantics: Semantics
Instruction semantics to consider.
bitwidths: BitWidths
Bit widths to target.
Trait Implementations§
Source§impl Clone for LoopEncodeSemantics
impl Clone for LoopEncodeSemantics
Source§fn clone(&self) -> LoopEncodeSemantics
fn clone(&self) -> LoopEncodeSemantics
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 LoopEncodeSemantics
impl Debug for LoopEncodeSemantics
Source§impl<'de> Deserialize<'de> for LoopEncodeSemantics
impl<'de> Deserialize<'de> for LoopEncodeSemantics
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 LoopEncodeSemantics
impl RefUnwindSafe for LoopEncodeSemantics
impl Send for LoopEncodeSemantics
impl Sync for LoopEncodeSemantics
impl Unpin for LoopEncodeSemantics
impl UnwindSafe for LoopEncodeSemantics
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