Enum geo_aid::generator::expression::CircleExpr
source · pub enum CircleExpr {
CenterRadius(CenterRadius),
}Expand description
Defines a circle expression.
Variants§
CenterRadius(CenterRadius)
A circle given the center and the radius.
Trait Implementations§
source§impl Clone for CircleExpr
impl Clone for CircleExpr
source§fn clone(&self) -> CircleExpr
fn clone(&self) -> CircleExpr
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 CircleExpr
impl Debug for CircleExpr
source§impl Evaluate for CircleExpr
impl Evaluate for CircleExpr
source§impl Kind for CircleExpr
impl Kind for CircleExpr
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 CircleExpr
impl Send for CircleExpr
impl Sync for CircleExpr
impl Unpin for CircleExpr
impl UnwindSafe for CircleExpr
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