pub struct PassResult {
pub module: LcnfModule,
pub stats: PassStats,
pub changed: bool,
}Expand description
Result of running a single optimization pass.
Fields§
§module: LcnfModuleThe module after the pass.
stats: PassStatsStatistics from this pass.
changed: boolWhether the pass made any changes.
Trait Implementations§
Source§impl Clone for PassResult
impl Clone for PassResult
Source§fn clone(&self) -> PassResult
fn clone(&self) -> PassResult
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 moreAuto Trait Implementations§
impl Freeze for PassResult
impl RefUnwindSafe for PassResult
impl Send for PassResult
impl Sync for PassResult
impl Unpin for PassResult
impl UnsafeUnpin for PassResult
impl UnwindSafe for PassResult
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