pub struct FieldContact<S: PhysicsSpace> {
pub separation: f32,
pub normal: S::Vector,
pub witness: S::Point,
pub error: f32,
}Expand description
error bounds the separation sample and the absolute field value at witness.
Fields§
§separation: f32§normal: S::Vector§witness: S::Point§error: f32Trait Implementations§
Source§impl<S: PhysicsSpace> Clone for FieldContact<S>
impl<S: PhysicsSpace> Clone for FieldContact<S>
impl<S: PhysicsSpace> Copy for FieldContact<S>
Auto Trait Implementations§
impl<S> Freeze for FieldContact<S>
impl<S> RefUnwindSafe for FieldContact<S>
impl<S> Send for FieldContact<S>
impl<S> Sync for FieldContact<S>
impl<S> Unpin for FieldContact<S>
impl<S> UnsafeUnpin for FieldContact<S>
impl<S> UnwindSafe for FieldContact<S>
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