[−][src]Struct appr_dbscan::utils::CellIndexPoint
Mock struct to use RTrees with const generics
Fields
index: CellIndex<D>Trait Implementations
impl<const D: usize> Clone for CellIndexPoint<D>[src]
fn clone(&self) -> CellIndexPoint<D>[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<const D: usize> Copy for CellIndexPoint<D>[src]
impl<const D: usize> Debug for CellIndexPoint<D>[src]
impl<const D: usize> PartialEq<CellIndexPoint<D>> for CellIndexPoint<D>[src]
fn eq(&self, other: &CellIndexPoint<D>) -> bool[src]
fn ne(&self, other: &CellIndexPoint<D>) -> bool[src]
impl<const D: usize> Point for CellIndexPoint<D>[src]
type Scalar = i64
The number type used by this point type.
const DIMENSIONS: usize[src]
fn generate(generator: impl Fn(usize) -> Self::Scalar) -> Self[src]
fn nth(&self, index: usize) -> Self::Scalar[src]
fn nth_mut(&mut self, index: usize) -> &mut Self::Scalar[src]
impl<const D: usize> StructuralPartialEq for CellIndexPoint<D>[src]
Auto Trait Implementations
impl<const D: usize> RefUnwindSafe for CellIndexPoint<D>
impl<const D: usize> Send for CellIndexPoint<D>
impl<const D: usize> Sync for CellIndexPoint<D>
impl<const D: usize> Unpin for CellIndexPoint<D>
impl<const D: usize> UnwindSafe for CellIndexPoint<D>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<P> PointDistance for P where
P: Point, [src]
P: Point,
fn distance_2(&self, point: &P) -> <P as Point>::Scalar[src]
fn contains_point(
&self,
point: &<<P as RTreeObject>::Envelope as Envelope>::Point
) -> bool[src]
&self,
point: &<<P as RTreeObject>::Envelope as Envelope>::Point
) -> bool
fn distance_2_if_less_or_equal(
&self,
point: &<<P as RTreeObject>::Envelope as Envelope>::Point,
max_distance_2: <<<P as RTreeObject>::Envelope as Envelope>::Point as Point>::Scalar
) -> Option<<P as Point>::Scalar>[src]
&self,
point: &<<P as RTreeObject>::Envelope as Envelope>::Point,
max_distance_2: <<<P as RTreeObject>::Envelope as Envelope>::Point as Point>::Scalar
) -> Option<<P as Point>::Scalar>
impl<P> RTreeObject for P where
P: Point, [src]
P: Point,
type Envelope = AABB<P>
The object's envelope type. Usually, AABB will be the right choice. This type also defines the objects dimensionality. Read more
fn envelope(&self) -> AABB<P>[src]
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,