pub struct CancelOpsRebuilder { /* private fields */ }
Trait Implementations§
source§impl Default for CancelOpsRebuilder
impl Default for CancelOpsRebuilder
source§fn default() -> CancelOpsRebuilder
fn default() -> CancelOpsRebuilder
Returns the “default value” for a type. Read more
source§impl Rebuilder for CancelOpsRebuilder
impl Rebuilder for CancelOpsRebuilder
fn map_var_id(&mut self, var: VariableId) -> VariableId
fn map_block_id(&mut self, block: BlockId) -> BlockId
fn map_var_usage(&mut self, var_usage: VarUsage) -> VarUsage
fn transform_statement(&mut self, _statement: &mut Statement)
fn transform_remapping(&mut self, _remapping: &mut VarRemapping)
fn transform_end(&mut self, _end: &mut FlatBlockEnd)
fn transform_block(&mut self, _block: &mut FlatBlock)
Auto Trait Implementations§
impl Freeze for CancelOpsRebuilder
impl RefUnwindSafe for CancelOpsRebuilder
impl Send for CancelOpsRebuilder
impl Sync for CancelOpsRebuilder
impl Unpin for CancelOpsRebuilder
impl UnwindSafe for CancelOpsRebuilder
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> 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 moresource§impl<T> RebuilderEx for Twhere
T: Rebuilder,
impl<T> RebuilderEx for Twhere
T: Rebuilder,
source§fn rebuild_statement(&mut self, statement: &Statement) -> Statement
fn rebuild_statement(&mut self, statement: &Statement) -> Statement
Rebuilds the statement with renamed var and block ids.
source§fn rebuild_remapping(&mut self, remapping: &VarRemapping) -> VarRemapping
fn rebuild_remapping(&mut self, remapping: &VarRemapping) -> VarRemapping
Apply map_var_id to all the variable in the
remapping
.source§fn rebuild_end(&mut self, end: &FlatBlockEnd) -> FlatBlockEnd
fn rebuild_end(&mut self, end: &FlatBlockEnd) -> FlatBlockEnd
Rebuilds the block end with renamed var and block ids.
source§fn rebuild_block(&mut self, block: &FlatBlock) -> FlatBlock
fn rebuild_block(&mut self, block: &FlatBlock) -> FlatBlock
Rebuilds the block with renamed var and block ids.