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 %rootImplementations§
Trait Implementations§
Source§impl<'c> Clone for EraseOperation<'c>
impl<'c> Clone for EraseOperation<'c>
Source§fn clone(&self) -> EraseOperation<'c>
fn clone(&self) -> EraseOperation<'c>
Returns a duplicate 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<'c> Debug for EraseOperation<'c>
impl<'c> Debug for EraseOperation<'c>
Source§impl<'b> From<EraseOperation<'b>> for PdlDialectOperation<'b>
impl<'b> From<EraseOperation<'b>> for PdlDialectOperation<'b>
Source§fn from(op: EraseOperation<'b>) -> Self
fn from(op: EraseOperation<'b>) -> Self
Converts to this type from the input type.
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.
Source§impl<'c> PartialEq for EraseOperation<'c>
impl<'c> PartialEq for EraseOperation<'c>
Source§impl<'c> TryFrom<Operation<'c>> for EraseOperation<'c>
impl<'c> TryFrom<Operation<'c>> for EraseOperation<'c>
impl<'c> Eq for EraseOperation<'c>
impl<'c> StructuralPartialEq for EraseOperation<'c>
Auto Trait Implementations§
impl<'c> Freeze for EraseOperation<'c>
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