pub struct ErasedDCE {
pub eliminated: u64,
}Expand description
Dead-code elimination for erased expressions.
Fields§
§eliminated: u64Implementations§
Source§impl ErasedDCE
impl ErasedDCE
Sourcepub fn elim(&mut self, expr: ErasedExprExt) -> ErasedExprExt
pub fn elim(&mut self, expr: ErasedExprExt) -> ErasedExprExt
Eliminate TypeErased nodes from applications.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErasedDCE
impl RefUnwindSafe for ErasedDCE
impl Send for ErasedDCE
impl Sync for ErasedDCE
impl Unpin for ErasedDCE
impl UnsafeUnpin for ErasedDCE
impl UnwindSafe for ErasedDCE
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