pub struct ProximityComponent {
pub witness: MeshDistance,
pub triangles_a: Vec<usize>,
pub triangles_b: Vec<usize>,
}Expand description
A region where two meshes approach within a threshold.
Fields§
§witness: MeshDistanceThe closest approach within this component.
triangles_a: Vec<usize>First-mesh triangles participating, ascending.
triangles_b: Vec<usize>Second-mesh triangles participating, ascending.
Trait Implementations§
Source§impl Clone for ProximityComponent
impl Clone for ProximityComponent
Source§fn clone(&self) -> ProximityComponent
fn clone(&self) -> ProximityComponent
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 moreSource§impl Debug for ProximityComponent
impl Debug for ProximityComponent
Source§impl PartialEq for ProximityComponent
impl PartialEq for ProximityComponent
impl StructuralPartialEq for ProximityComponent
Auto Trait Implementations§
impl Freeze for ProximityComponent
impl RefUnwindSafe for ProximityComponent
impl Send for ProximityComponent
impl Sync for ProximityComponent
impl Unpin for ProximityComponent
impl UnwindSafe for ProximityComponent
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