Struct spade::iterators::CircleMetric
source · pub struct CircleMetric<S: SpadeNum> { /* private fields */ }
Expand description
Defines the shape of circle.
This is only exported to allow referring to the return type of crate::FloatTriangulation::get_edges_in_circle.
Trait Implementations§
source§impl<S: Clone + SpadeNum> Clone for CircleMetric<S>
impl<S: Clone + SpadeNum> Clone for CircleMetric<S>
source§fn clone(&self) -> CircleMetric<S>
fn clone(&self) -> CircleMetric<S>
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<S: PartialEq + SpadeNum> PartialEq for CircleMetric<S>
impl<S: PartialEq + SpadeNum> PartialEq for CircleMetric<S>
source§fn eq(&self, other: &CircleMetric<S>) -> bool
fn eq(&self, other: &CircleMetric<S>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<S: PartialOrd + SpadeNum> PartialOrd for CircleMetric<S>
impl<S: PartialOrd + SpadeNum> PartialOrd for CircleMetric<S>
source§fn partial_cmp(&self, other: &CircleMetric<S>) -> Option<Ordering>
fn partial_cmp(&self, other: &CircleMetric<S>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<S: Copy + SpadeNum> Copy for CircleMetric<S>
impl<S: SpadeNum> StructuralPartialEq for CircleMetric<S>
Auto Trait Implementations§
impl<S> Freeze for CircleMetric<S>where
S: Freeze,
impl<S> RefUnwindSafe for CircleMetric<S>where
S: RefUnwindSafe,
impl<S> Send for CircleMetric<S>where
S: Send,
impl<S> Sync for CircleMetric<S>where
S: Sync,
impl<S> Unpin for CircleMetric<S>where
S: Unpin,
impl<S> UnwindSafe for CircleMetric<S>where
S: UnwindSafe,
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