Struct geo_aid::generator::expression::expr::AnglePoint
source · pub struct AnglePoint {
pub arm1: Arc<Expression<PointExpr>>,
pub origin: Arc<Expression<PointExpr>>,
pub arm2: Arc<Expression<PointExpr>>,
}Expand description
An angle defined with 3 points.
Fields§
§arm1: Arc<Expression<PointExpr>>§origin: Arc<Expression<PointExpr>>§arm2: Arc<Expression<PointExpr>>Trait Implementations§
source§impl Clone for AnglePoint
impl Clone for AnglePoint
source§fn clone(&self) -> AnglePoint
fn clone(&self) -> AnglePoint
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 AnglePoint
impl Debug for AnglePoint
source§impl Evaluate for AnglePoint
impl Evaluate for AnglePoint
source§impl Kind for AnglePoint
impl Kind for AnglePoint
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 AnglePoint
impl Send for AnglePoint
impl Sync for AnglePoint
impl Unpin for AnglePoint
impl UnwindSafe for AnglePoint
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