Enum geo_aid::script::unroll::UnrolledRuleKind
source · pub enum UnrolledRuleKind {
PointEq(Expr<Point>, Expr<Point>),
ScalarEq(Expr<Scalar>, Expr<Scalar>),
Gt(Expr<Scalar>, Expr<Scalar>),
Lt(Expr<Scalar>, Expr<Scalar>),
Alternative(Vec<UnrolledRule>),
Bias(AnyExpr),
}
Expand description
The kind on the unrolled rule.
Variants§
PointEq(Expr<Point>, Expr<Point>)
ScalarEq(Expr<Scalar>, Expr<Scalar>)
Gt(Expr<Scalar>, Expr<Scalar>)
Lt(Expr<Scalar>, Expr<Scalar>)
Alternative(Vec<UnrolledRule>)
Bias(AnyExpr)
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>,
Errors Read more
source§fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
Errors Read more