pub enum BodyPlanOverlap {
Overlapping {
at: Point2,
item_a: usize,
item_b: usize,
},
Disjoint {
gap: Scalar,
},
Undecided,
}Expand description
Whether the plan projections of two bodies overlap, and which items show it.
Variants§
Overlapping
Over a patch of positive area: at and a disc around it lie in the
shadows of item item_a of the first body and item item_b of the
second, shown by a planar face of each that is not vertical.
Fields
Disjoint
Certainly apart: no item of one comes within gap, positive, of an
item of the other in plan.
Undecided
Neither shown: the shadows may only touch, overlap where no planar face covers both, or lie closer than the search resolves.
Trait Implementations§
Source§impl Clone for BodyPlanOverlap
impl Clone for BodyPlanOverlap
Source§fn clone(&self) -> BodyPlanOverlap
fn clone(&self) -> BodyPlanOverlap
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BodyPlanOverlap
Source§impl Debug for BodyPlanOverlap
impl Debug for BodyPlanOverlap
Source§impl PartialEq for BodyPlanOverlap
impl PartialEq for BodyPlanOverlap
impl StructuralPartialEq for BodyPlanOverlap
Auto Trait Implementations§
impl Freeze for BodyPlanOverlap
impl RefUnwindSafe for BodyPlanOverlap
impl Send for BodyPlanOverlap
impl Sync for BodyPlanOverlap
impl Unpin for BodyPlanOverlap
impl UnsafeUnpin for BodyPlanOverlap
impl UnwindSafe for BodyPlanOverlap
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more