pub(in rotation) struct ScalarEvalOps;Trait Implementations§
Source§impl EvalRuleOps for ScalarEvalOps
impl EvalRuleOps for ScalarEvalOps
type Bool = bool
type Int = i32
type Float = f64
fn const_bool(&mut self, value: bool) -> Self::Bool
fn const_i32(&mut self, value: i32) -> Self::Int
fn const_f64(&mut self, value: f64) -> Self::Float
fn sub_f(&mut self, lhs: Self::Float, rhs: Self::Float) -> Self::Float
fn mul_f(&mut self, lhs: Self::Float, rhs: Self::Float) -> Self::Float
fn safe_div_f( &mut self, numerator: Self::Float, denominator: Self::Float, ) -> Self::Float
fn max_f(&mut self, lhs: Self::Float, rhs: Self::Float) -> Self::Float
fn cmp_gt_f(&mut self, lhs: Self::Float, rhs: Self::Float) -> Self::Bool
fn cmp_lt_f(&mut self, lhs: Self::Float, rhs: Self::Float) -> Self::Bool
fn cmp_lte_f(&mut self, lhs: Self::Float, rhs: Self::Float) -> Self::Bool
fn cmp_gt_i(&mut self, lhs: Self::Int, rhs: Self::Int) -> Self::Bool
fn and_b(&mut self, lhs: Self::Bool, rhs: Self::Bool) -> Self::Bool
fn or_b(&mut self, lhs: Self::Bool, rhs: Self::Bool) -> Self::Bool
fn select_f( &mut self, condition: Self::Bool, if_true: Self::Float, if_false: Self::Float, ) -> Self::Float
fn select_b( &mut self, condition: Self::Bool, if_true: Self::Bool, if_false: Self::Bool, ) -> Self::Bool
Auto Trait Implementations§
impl Freeze for ScalarEvalOps
impl RefUnwindSafe for ScalarEvalOps
impl Send for ScalarEvalOps
impl Sync for ScalarEvalOps
impl Unpin for ScalarEvalOps
impl UnsafeUnpin for ScalarEvalOps
impl UnwindSafe for ScalarEvalOps
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more