pub struct SimplifyRule {
pub name: String,
pub priority: i32,
pub rule: SimplifyRuleArc,
}Expand description
A heuristic simplification rule attached to a CustomOpDescriptor.
Fields§
§name: StringHuman-readable name for fingerprinting and diagnostics.
priority: i32Dispatch priority — higher fires first.
rule: SimplifyRuleArcThe rule closure.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SimplifyRule
impl !RefUnwindSafe for SimplifyRule
impl Send for SimplifyRule
impl Sync for SimplifyRule
impl Unpin for SimplifyRule
impl UnsafeUnpin for SimplifyRule
impl !UnwindSafe for SimplifyRule
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