pub enum UnrolledRuleKind {
PointEq(Expr<Point>, Expr<Point>),
NumberEq(Expr<Number>, Expr<Number>),
Gt(Expr<Number>, Expr<Number>),
Alternative(Vec<UnrolledRule>),
Bias(AnyExpr),
}
Expand description
The kind on the unrolled rule.
Variants§
PointEq(Expr<Point>, Expr<Point>)
A point equality rule (distance of 0)
NumberEq(Expr<Number>, Expr<Number>)
A scalar equality
Gt(Expr<Number>, Expr<Number>)
a > b
Alternative(Vec<UnrolledRule>)
One of the rules must be true.
Bias(AnyExpr)
Bias entities in an expression. Can alter behavior of some engines.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UnrolledRuleKind
impl !RefUnwindSafe for UnrolledRuleKind
impl !Send for UnrolledRuleKind
impl !Sync for UnrolledRuleKind
impl Unpin for UnrolledRuleKind
impl !UnwindSafe for UnrolledRuleKind
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