pub struct B2simplexCache {
pub metric: f32,
pub count: u16,
pub index_a: [u8; 3],
pub index_b: [u8; 3],
}Expand description
Used to warm start b2Distance. Set count to zero on first call.
Fields§
§metric: f32< length or area
count: u16§index_a: [u8; 3]< vertices on shape A
index_b: [u8; 3]< vertices on shape b
Trait Implementations§
Source§impl Clone for B2simplexCache
impl Clone for B2simplexCache
Source§fn clone(&self) -> B2simplexCache
fn clone(&self) -> B2simplexCache
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 B2simplexCache
impl Debug for B2simplexCache
Source§impl Default for B2simplexCache
impl Default for B2simplexCache
Source§fn default() -> B2simplexCache
fn default() -> B2simplexCache
Returns the “default value” for a type. Read more
impl Copy for B2simplexCache
Auto Trait Implementations§
impl Freeze for B2simplexCache
impl RefUnwindSafe for B2simplexCache
impl Send for B2simplexCache
impl Sync for B2simplexCache
impl Unpin for B2simplexCache
impl UnsafeUnpin for B2simplexCache
impl UnwindSafe for B2simplexCache
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