pub struct ConstantFolding { /* private fields */ }Expand description
Constant Folding pass.
Evaluates operations on constants at compile time.
Implementations§
Trait Implementations§
Source§impl Default for ConstantFolding
impl Default for ConstantFolding
Source§impl OptimizationPass for ConstantFolding
impl OptimizationPass for ConstantFolding
Auto Trait Implementations§
impl Freeze for ConstantFolding
impl RefUnwindSafe for ConstantFolding
impl Send for ConstantFolding
impl Sync for ConstantFolding
impl Unpin for ConstantFolding
impl UnwindSafe for ConstantFolding
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