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