Struct geo_aid::generator::expression::expr::CenterRadius
source · pub struct CenterRadius {
pub center: Arc<Expression<PointExpr>>,
pub radius: Arc<Expression<ScalarExpr>>,
}Expand description
The center and the radius of the circle.
Fields§
§center: Arc<Expression<PointExpr>>§radius: Arc<Expression<ScalarExpr>>Trait Implementations§
source§impl Clone for CenterRadius
impl Clone for CenterRadius
source§fn clone(&self) -> CenterRadius
fn clone(&self) -> CenterRadius
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 CenterRadius
impl Debug for CenterRadius
source§impl Evaluate for CenterRadius
impl Evaluate for CenterRadius
source§impl Kind for CenterRadius
impl Kind for CenterRadius
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 CenterRadius
impl Send for CenterRadius
impl Sync for CenterRadius
impl Unpin for CenterRadius
impl UnwindSafe for CenterRadius
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