[−][src]Enum rust_3d::AABBTree2D
AABBTree2D, an axis aligned bounding box tree in 2D for fast collision detection
Variants
EmptyLeaf(AABBTree2DLeaf<HB>)Branch(AABBTree2DBranch<HB>)Methods
impl<HB> AABBTree2D<HB> where
HB: HasBoundingBox2D + Clone, [src]
HB: HasBoundingBox2D + Clone,
pub fn new(data: Vec<HB>, maxdepth: usize) -> Result<Self>[src]
pub fn bb_colliding(&self, bb: &BoundingBox2D) -> Vec<&HB>[src]
pub fn bb_crossing_x_value(&self, x: f64) -> Vec<&HB>[src]
pub fn bb_crossing_y_value(&self, y: f64) -> Vec<&HB>[src]
Auto Trait Implementations
impl<HB> Send for AABBTree2D<HB> where
HB: Send,
HB: Send,
impl<HB> Unpin for AABBTree2D<HB> where
HB: Unpin,
HB: Unpin,
impl<HB> Sync for AABBTree2D<HB> where
HB: Sync,
HB: Sync,
impl<HB> UnwindSafe for AABBTree2D<HB> where
HB: UnwindSafe,
HB: UnwindSafe,
impl<HB> RefUnwindSafe for AABBTree2D<HB> where
HB: RefUnwindSafe,
HB: RefUnwindSafe,
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,