pub struct Interference {
pub volume: f64,
pub gap: f64,
}Expand description
How two solids meet, as they stand: the volume they share and the gap between them.
Fields§
§volume: f64The volume of their intersection: above 0 where they overlap.
gap: f64The least distance from a point of one to a point of the other: 0 where they overlap or touch.
Trait Implementations§
Source§impl Clone for Interference
impl Clone for Interference
impl Copy for Interference
Source§impl Debug for Interference
impl Debug for Interference
Source§impl PartialEq for Interference
impl PartialEq for Interference
impl StructuralPartialEq for Interference
Auto Trait Implementations§
impl Forget for Interference
impl Freeze for Interference
impl Move for Interference
impl RefUnwindSafe for Interference
impl Send for Interference
impl Sync for Interference
impl Unpin for Interference
impl UnsafeUnpin for Interference
impl UnwindSafe for Interference
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