pub enum PassId {
JoinPoints,
Specialize,
Reuse,
Dce,
ClosureConvert,
Custom(String),
}Expand description
Identifier for an optimization pass.
Variants§
JoinPoints
Join point optimization.
Specialize
Specialization.
Reuse
Reset-reuse optimization.
Dce
Dead code elimination + constant/copy propagation.
ClosureConvert
Closure conversion.
Custom(String)
A custom (user-defined) pass.
Trait Implementations§
impl Eq for PassId
impl StructuralPartialEq for PassId
Auto Trait Implementations§
impl Freeze for PassId
impl RefUnwindSafe for PassId
impl Send for PassId
impl Sync for PassId
impl Unpin for PassId
impl UnsafeUnpin for PassId
impl UnwindSafe for PassId
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