[][src]Struct ncollide2d::query::visitors::BoundingVolumeInterferencesCollector

pub struct BoundingVolumeInterferencesCollector<'a, N: 'a, T: 'a, BV: 'a> {
    pub bv: &'a BV,
    pub collector: &'a mut Vec<T>,
    // some fields omitted
}

Spatial partitioning data structure visitor collecting interferences with a given bounding volume.

Fields

bv: &'a BV

The bounding volume used for interference tests.

collector: &'a mut Vec<T>

The data contained by the nodes with bounding volumes intersecting self.bv.

Methods

impl<'a, N, T, BV> BoundingVolumeInterferencesCollector<'a, N, T, BV> where
    N: RealField,
    BV: BoundingVolume<N>, 
[src]

pub fn new(
    bv: &'a BV,
    buffer: &'a mut Vec<T>
) -> BoundingVolumeInterferencesCollector<'a, N, T, BV>
[src]

Creates a new BoundingVolumeInterferencesCollector.

Trait Implementations

impl<'a, N, T, BV> Visitor<T, BV> for BoundingVolumeInterferencesCollector<'a, N, T, BV> where
    N: RealField,
    T: Clone,
    BV: BoundingVolume<N>, 
[src]

Auto Trait Implementations

impl<'a, N, T, BV> RefUnwindSafe for BoundingVolumeInterferencesCollector<'a, N, T, BV> where
    BV: RefUnwindSafe,
    N: RefUnwindSafe,
    T: RefUnwindSafe

impl<'a, N, T, BV> Send for BoundingVolumeInterferencesCollector<'a, N, T, BV> where
    BV: Sync,
    N: Send,
    T: Send

impl<'a, N, T, BV> Sync for BoundingVolumeInterferencesCollector<'a, N, T, BV> where
    BV: Sync,
    N: Sync,
    T: Sync

impl<'a, N, T, BV> Unpin for BoundingVolumeInterferencesCollector<'a, N, T, BV> where
    N: Unpin

impl<'a, N, T, BV> !UnwindSafe for BoundingVolumeInterferencesCollector<'a, N, T, BV>

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> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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>, 

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<V, T> VZip<V> for T where
    V: MultiLane<T>,