Struct ClosestPoints3
pub struct ClosestPoints3 {
pub point_a: DVec3,
pub point_b: DVec3,
pub distance_squared: f64,
}Expand description
Two witnesses, ordered to match the first and second inputs.
Fields§
§point_a: DVec3Witness on the first input.
point_b: DVec3Witness on the second input.
distance_squared: f64Squared Euclidean separation of the witnesses.
Trait Implementations§
§impl Clone for ClosestPoints3
impl Clone for ClosestPoints3
§fn clone(&self) -> ClosestPoints3
fn clone(&self) -> ClosestPoints3
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ClosestPoints3
impl Debug for ClosestPoints3
§impl PartialEq for ClosestPoints3
impl PartialEq for ClosestPoints3
impl Copy for ClosestPoints3
impl StructuralPartialEq for ClosestPoints3
Auto Trait Implementations§
impl Freeze for ClosestPoints3
impl RefUnwindSafe for ClosestPoints3
impl Send for ClosestPoints3
impl Sync for ClosestPoints3
impl Unpin for ClosestPoints3
impl UnwindSafe for ClosestPoints3
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