Struct geo_aid::generator::expression::expr::AnglePointDir
source · pub struct AnglePointDir {
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 AnglePointDir
impl Clone for AnglePointDir
source§fn clone(&self) -> AnglePointDir
fn clone(&self) -> AnglePointDir
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 AnglePointDir
impl Debug for AnglePointDir
source§impl Evaluate for AnglePointDir
impl Evaluate for AnglePointDir
source§impl Kind for AnglePointDir
impl Kind for AnglePointDir
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 AnglePointDir
impl Send for AnglePointDir
impl Sync for AnglePointDir
impl Unpin for AnglePointDir
impl UnwindSafe for AnglePointDir
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