Enum ncollide2d::partitioning::BVTNode
source · Expand description
A node of the bounding volume tree.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<B, BV> RefUnwindSafe for BVTNode<B, BV>where
B: RefUnwindSafe,
BV: RefUnwindSafe,
impl<B, BV> Send for BVTNode<B, BV>where
B: Send,
BV: Send,
impl<B, BV> Sync for BVTNode<B, BV>where
B: Sync,
BV: Sync,
impl<B, BV> Unpin for BVTNode<B, BV>where
B: Unpin,
BV: Unpin,
impl<B, BV> UnwindSafe for BVTNode<B, BV>where
B: UnwindSafe,
BV: UnwindSafe,
Blanket Implementations§
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§unsafe fn to_subset_unchecked(&self) -> SS
unsafe fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.