pub struct UnrolledRule {
pub kind: UnrolledRuleKind,
pub inverted: bool,
pub weight: ProcNum,
}
Expand description
An unrolled rule with a kind and additional data.
Fields§
§kind: UnrolledRuleKind
The kind of this rule
inverted: bool
Whether the rule is inverted
weight: ProcNum
The rule’s weight
Trait Implementations§
Source§impl Debug for UnrolledRule
impl Debug for UnrolledRule
Auto Trait Implementations§
impl Freeze for UnrolledRule
impl !RefUnwindSafe for UnrolledRule
impl !Send for UnrolledRule
impl !Sync for UnrolledRule
impl Unpin for UnrolledRule
impl !UnwindSafe for UnrolledRule
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> Convert for T
impl<T> Convert for T
Source§fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
Convert
self
into a specific type. Read moreSource§fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
Check if
self
can be converted into a specific type. Read more