Struct kdvtree::NearestShape [−][src]
pub struct NearestShape<'t, B: 't, S: 't, D> { pub dist: D, pub shape: &'t S, pub shape_fragment: &'t B, }
Fields
dist: D
shape: &'t S
shape_fragment: &'t B
Trait Implementations
impl<'t, B: Clone + 't, S: Clone + 't, D: Clone> Clone for NearestShape<'t, B, S, D>
[src]
impl<'t, B: Clone + 't, S: Clone + 't, D: Clone> Clone for NearestShape<'t, B, S, D>
fn clone(&self) -> NearestShape<'t, B, S, D>
[src]
fn clone(&self) -> NearestShape<'t, B, S, D>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<'t, B: Debug + 't, S: Debug + 't, D: Debug> Debug for NearestShape<'t, B, S, D>
[src]
impl<'t, B: Debug + 't, S: Debug + 't, D: Debug> Debug for NearestShape<'t, B, S, D>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'t, B, S, D> Ord for NearestShape<'t, B, S, D> where
D: PartialOrd,
[src]
impl<'t, B, S, D> Ord for NearestShape<'t, B, S, D> where
D: PartialOrd,
fn cmp(&self, other: &NearestShape<'t, B, S, D>) -> Ordering
[src]
fn cmp(&self, other: &NearestShape<'t, B, S, D>) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl<'t, B, S, D> PartialOrd for NearestShape<'t, B, S, D> where
D: PartialOrd,
[src]
impl<'t, B, S, D> PartialOrd for NearestShape<'t, B, S, D> where
D: PartialOrd,
fn partial_cmp(&self, other: &NearestShape<'t, B, S, D>) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &NearestShape<'t, B, S, D>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
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 more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl<'t, B, S, D> Eq for NearestShape<'t, B, S, D> where
D: PartialEq + PartialOrd,
[src]
impl<'t, B, S, D> Eq for NearestShape<'t, B, S, D> where
D: PartialEq + PartialOrd,
impl<'t, B, S, D> PartialEq for NearestShape<'t, B, S, D> where
D: PartialEq + PartialOrd,
[src]
impl<'t, B, S, D> PartialEq for NearestShape<'t, B, S, D> where
D: PartialEq + PartialOrd,
Auto Trait Implementations
impl<'t, B, S, D> Send for NearestShape<'t, B, S, D> where
B: Sync,
D: Send,
S: Sync,
impl<'t, B, S, D> Send for NearestShape<'t, B, S, D> where
B: Sync,
D: Send,
S: Sync,
impl<'t, B, S, D> Sync for NearestShape<'t, B, S, D> where
B: Sync,
D: Sync,
S: Sync,
impl<'t, B, S, D> Sync for NearestShape<'t, B, S, D> where
B: Sync,
D: Sync,
S: Sync,