pub struct ConstantFold;Expand description
Function pass that folds compile-time constant expressions.
Trait Implementations§
Source§impl FunctionPass for ConstantFold
impl FunctionPass for ConstantFold
Auto Trait Implementations§
impl Freeze for ConstantFold
impl RefUnwindSafe for ConstantFold
impl Send for ConstantFold
impl Sync for ConstantFold
impl Unpin for ConstantFold
impl UnsafeUnpin for ConstantFold
impl UnwindSafe for ConstantFold
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