pub struct Gap {
pub distance_mm: f64,
pub on_a: [f64; 3],
pub on_b: [f64; 3],
}Expand description
How near two shapes come: the distance between their boundaries and a nearest point on each, in the first shape’s frame. Zero where the boundaries touch or cross.
Fields§
§distance_mm: f64§on_a: [f64; 3]§on_b: [f64; 3]Trait Implementations§
impl Copy for Gap
impl StructuralPartialEq for Gap
Auto Trait Implementations§
impl Freeze for Gap
impl RefUnwindSafe for Gap
impl Send for Gap
impl Sync for Gap
impl Unpin for Gap
impl UnsafeUnpin for Gap
impl UnwindSafe for Gap
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