pub struct OverlapResult {
pub body_index: usize,
pub depth: Fix128,
}Expand description
Result of an overlap query
Fields§
§body_index: usizeIndex of the overlapping body
depth: Fix128Overlap depth (penetration distance)
Trait Implementations§
Source§impl Clone for OverlapResult
impl Clone for OverlapResult
impl Copy for OverlapResult
Source§impl Debug for OverlapResult
impl Debug for OverlapResult
impl Eq for OverlapResult
Source§impl PartialEq for OverlapResult
impl PartialEq for OverlapResult
impl StructuralPartialEq for OverlapResult
Auto Trait Implementations§
impl Freeze for OverlapResult
impl RefUnwindSafe for OverlapResult
impl Send for OverlapResult
impl Sync for OverlapResult
impl Unpin for OverlapResult
impl UnsafeUnpin for OverlapResult
impl UnwindSafe for OverlapResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more