pub struct BodyDistance {
pub bounds: DistanceBounds,
pub item_a: usize,
pub item_b: usize,
}Expand description
A certified distance between two bodies and the items its witnesses lie on.
Fields§
§bounds: DistanceBoundsThe interval and the witnesses, as for one pair.
item_a: usizeThe item of the first body holding bounds.point_a.
item_b: usizeThe item of the second body holding bounds.point_b.
Trait Implementations§
Source§impl Clone for BodyDistance
impl Clone for BodyDistance
Source§fn clone(&self) -> BodyDistance
fn clone(&self) -> BodyDistance
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 moreSource§impl Debug for BodyDistance
impl Debug for BodyDistance
Source§impl PartialEq for BodyDistance
impl PartialEq for BodyDistance
impl StructuralPartialEq for BodyDistance
Auto Trait Implementations§
impl Freeze for BodyDistance
impl RefUnwindSafe for BodyDistance
impl Send for BodyDistance
impl Sync for BodyDistance
impl Unpin for BodyDistance
impl UnsafeUnpin for BodyDistance
impl UnwindSafe for BodyDistance
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