pub struct Passes(/* private fields */);Expand description
A set of optimization passes. An optimizer applies a set of passes to a function until a fixed point is reached.
Implementations§
Trait Implementations§
Source§impl BitOrAssign<Pass> for Passes
impl BitOrAssign<Pass> for Passes
Source§fn bitor_assign(&mut self, rhs: Pass)
fn bitor_assign(&mut self, rhs: Pass)
Performs the
|= operation. Read moreimpl Copy for Passes
impl Eq for Passes
impl StructuralPartialEq for Passes
Auto Trait Implementations§
impl Freeze for Passes
impl RefUnwindSafe for Passes
impl Send for Passes
impl Sync for Passes
impl Unpin for Passes
impl UnwindSafe for Passes
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more