pub struct OptResult {
pub changed: bool,
pub removed_count: usize,
pub added_count: usize,
pub modified_count: usize,
}Expand description
Result of an optimization pass
Fields§
§changed: boolWhether any changes were made
removed_count: usizeNumber of instructions removed
added_count: usizeNumber of instructions added
modified_count: usizeNumber of instructions modified
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OptResult
impl RefUnwindSafe for OptResult
impl Send for OptResult
impl Sync for OptResult
impl Unpin for OptResult
impl UnsafeUnpin for OptResult
impl UnwindSafe for OptResult
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