pub struct InlineAssignments { /* private fields */ }Expand description
Inline constants or simple reassignments that don’t change the type. This simplifies the code and makes it easier to find optimizable expressions.
Trait Implementations§
Source§impl Debug for InlineAssignments
impl Debug for InlineAssignments
Source§impl Default for InlineAssignments
impl Default for InlineAssignments
Source§fn default() -> InlineAssignments
fn default() -> InlineAssignments
Returns the “default value” for a type. Read more
Source§impl InstructionVisitor for InlineAssignments
impl InstructionVisitor for InlineAssignments
fn visit_instruction( &mut self, inst: Instruction, _global_state: &GlobalState, analyses: &GlobalAnalyses, changes: &AtomicCounter, ) -> Vec<Instruction>
fn visit_scope( &mut self, scope: &Scope, analyses: &GlobalAnalyses, changes: &AtomicCounter, )
Auto Trait Implementations§
impl Freeze for InlineAssignments
impl RefUnwindSafe for InlineAssignments
impl Send for InlineAssignments
impl Sync for InlineAssignments
impl Unpin for InlineAssignments
impl UnsafeUnpin for InlineAssignments
impl UnwindSafe for InlineAssignments
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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