pub struct EraseOperation<'c> { /* private fields */ }Expand description
An erase operation. Mark an input operation as erased.
pdl.erase operations are used within pdl.rewrite regions to specify that
an input operation should be marked as erased. The semantics of this
operation correspond with the eraseOp method on a PatternRewriter.
Example:
pdl.erase %root
Implementations§
Trait Implementations§
source§impl<'c> From<EraseOperation<'c>> for Operation<'c>
impl<'c> From<EraseOperation<'c>> for Operation<'c>
source§fn from(operation: EraseOperation<'c>) -> Self
fn from(operation: EraseOperation<'c>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for EraseOperation<'c>
impl<'c> !Send for EraseOperation<'c>
impl<'c> !Sync for EraseOperation<'c>
impl<'c> Unpin for EraseOperation<'c>
impl<'c> UnwindSafe for EraseOperation<'c>
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