Struct geo_aid::generator::expression::expr::Difference
source · pub struct Difference {
pub a: Arc<Expression<ScalarExpr>>,
pub b: Arc<Expression<ScalarExpr>>,
}Expand description
a - b.
Fields§
§a: Arc<Expression<ScalarExpr>>§b: Arc<Expression<ScalarExpr>>Trait Implementations§
source§impl Clone for Difference
impl Clone for Difference
source§fn clone(&self) -> Difference
fn clone(&self) -> Difference
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for Difference
impl Debug for Difference
source§impl Evaluate for Difference
impl Evaluate for Difference
type Output = f64
source§fn evaluate(&self, args: &EvaluationArgs<'_>) -> Result<f64, EvaluationError>
fn evaluate(&self, args: &EvaluationArgs<'_>) -> Result<f64, EvaluationError>
Evaluates the thing. Read more
source§fn evaluate_weights(&self) -> Weights
fn evaluate_weights(&self) -> Weights
Evaluates weights.
Auto Trait Implementations§
impl RefUnwindSafe for Difference
impl Send for Difference
impl Sync for Difference
impl Unpin for Difference
impl UnwindSafe for Difference
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