Struct geo_aid::generator::expression::expr::PointLineDistance
source · pub struct PointLineDistance {
pub point: Arc<Expression<PointExpr>>,
pub line: Arc<Expression<LineExpr>>,
}Fields§
§point: Arc<Expression<PointExpr>>§line: Arc<Expression<LineExpr>>Trait Implementations§
source§impl Clone for PointLineDistance
impl Clone for PointLineDistance
source§fn clone(&self) -> PointLineDistance
fn clone(&self) -> PointLineDistance
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 PointLineDistance
impl Debug for PointLineDistance
source§impl Evaluate for PointLineDistance
impl Evaluate for PointLineDistance
source§impl Kind for PointLineDistance
impl Kind for PointLineDistance
fn collect(&self, exprs: &mut Vec<usize>)
source§fn is_trivial(&self) -> bool
fn is_trivial(&self) -> bool
Trivial expressions are ones that don’t require any calculations being made.
Trivial expressions should not be cached, as it is much faster to evaluate them
than to get their caches.
source§fn evaluate_weights(&self) -> Weights
fn evaluate_weights(&self) -> Weights
Evaluates weights.
Auto Trait Implementations§
impl RefUnwindSafe for PointLineDistance
impl Send for PointLineDistance
impl Sync for PointLineDistance
impl Unpin for PointLineDistance
impl UnwindSafe for PointLineDistance
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