[][src]Struct rust_3d::Cluster

pub struct Cluster<HB> where
    HB: HasBoundingBox3D
{ /* fields omitted */ }

Spatial clustering of data on the x/y plane

Implementations

impl<HB> Cluster<HB> where
    HB: HasBoundingBox3D
[src]

pub fn new(data: Vec<HB>, count_x: u16, count_y: u16) -> Result<Self>[src]

pub fn for_each_candidate<'a>(&'a self, x: f64, y: f64, f: &mut dyn FnMut(&HB))[src]

Auto Trait Implementations

impl<HB> RefUnwindSafe for Cluster<HB> where
    HB: RefUnwindSafe

impl<HB> Send for Cluster<HB> where
    HB: Send

impl<HB> Sync for Cluster<HB> where
    HB: Sync

impl<HB> Unpin for Cluster<HB> where
    HB: Unpin

impl<HB> UnwindSafe for Cluster<HB> where
    HB: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.