#[repr(C)]pub struct b2DistanceInput {
pub proxyA: b2ShapeProxy,
pub proxyB: b2ShapeProxy,
pub transformA: b2Transform,
pub transformB: b2Transform,
pub useRadii: bool,
}Expand description
Input for b2ShapeDistance
Fields§
§proxyA: b2ShapeProxyThe proxy for shape A
proxyB: b2ShapeProxyThe proxy for shape B
transformA: b2TransformThe world transform for shape A
transformB: b2TransformThe world transform for shape B
useRadii: boolShould the proxy radius be considered?
Trait Implementations§
Source§impl Clone for b2DistanceInput
impl Clone for b2DistanceInput
Source§fn clone(&self) -> b2DistanceInput
fn clone(&self) -> b2DistanceInput
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for b2DistanceInput
impl Debug for b2DistanceInput
impl Copy for b2DistanceInput
Auto Trait Implementations§
impl Freeze for b2DistanceInput
impl RefUnwindSafe for b2DistanceInput
impl Send for b2DistanceInput
impl Sync for b2DistanceInput
impl Unpin for b2DistanceInput
impl UnwindSafe for b2DistanceInput
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)