pub struct SimplifyCfgConstProp {}
Expand description
Simplifies block exits by propagating constants.
Trait Implementations§
Source§impl Clone for SimplifyCfgConstProp
impl Clone for SimplifyCfgConstProp
Source§fn clone(&self) -> SimplifyCfgConstProp
fn clone(&self) -> SimplifyCfgConstProp
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SimplifyCfgConstProp
impl Debug for SimplifyCfgConstProp
Source§impl Default for SimplifyCfgConstProp
impl Default for SimplifyCfgConstProp
Source§fn default() -> SimplifyCfgConstProp
fn default() -> SimplifyCfgConstProp
Returns the “default value” for a type. Read more
Source§impl Optimize<FunctionDefinition> for SimplifyCfgConstProp
impl Optimize<FunctionDefinition> for SimplifyCfgConstProp
fn optimize(&mut self, code: &mut FunctionDefinition) -> bool
impl Copy for SimplifyCfgConstProp
Auto Trait Implementations§
impl Freeze for SimplifyCfgConstProp
impl RefUnwindSafe for SimplifyCfgConstProp
impl Send for SimplifyCfgConstProp
impl Sync for SimplifyCfgConstProp
impl Unpin for SimplifyCfgConstProp
impl UnwindSafe for SimplifyCfgConstProp
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