[][src]Struct nphysics3d::geometry::HGrid

pub struct HGrid<N: RealField, T> { /* fields omitted */ }

Methods

impl<N: RealField, T> HGrid<N, T>[src]

pub fn new(cell_width: N) -> Self[src]

pub fn clear(&mut self)[src]

pub fn insert(&mut self, point: &Point<N>, elt: T)[src]

pub fn elements_close_to_point<'a>(
    &'a self,
    point: &Point<N>,
    radius: N
) -> impl Iterator<Item = &T>
[src]

pub fn elements_containing_point(
    &self,
    point: &Point<N>
) -> impl Iterator<Item = &T>
[src]

Trait Implementations

impl<N: Clone + RealField, T: Clone> Clone for HGrid<N, T>[src]

impl<N: PartialEq + RealField, T: PartialEq> PartialEq<HGrid<N, T>> for HGrid<N, T>[src]

impl<N: Debug + RealField, T: Debug> Debug for HGrid<N, T>[src]

Auto Trait Implementations

impl<N, T> Send for HGrid<N, T> where
    T: Send

impl<N, T> Unpin for HGrid<N, T> where
    N: Unpin,
    T: Unpin

impl<N, T> Sync for HGrid<N, T> where
    T: Sync

impl<N, T> UnwindSafe for HGrid<N, T> where
    N: UnwindSafe,
    T: UnwindSafe

impl<N, T> RefUnwindSafe for HGrid<N, T> where
    N: RefUnwindSafe,
    T: RefUnwindSafe

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for 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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>,