#[repr(C)]pub struct b2TOIInput {
pub proxyA: b2ShapeProxy,
pub proxyB: b2ShapeProxy,
pub sweepA: b2Sweep,
pub sweepB: b2Sweep,
pub maxFraction: f32,
}Expand description
Time of impact input
Fields§
§proxyA: b2ShapeProxy< The proxy for shape A
proxyB: b2ShapeProxy< The proxy for shape B
sweepA: b2Sweep< The movement of shape A
sweepB: b2Sweep< The movement of shape B
maxFraction: f32< Defines the sweep interval [0, maxFraction]
Trait Implementations§
Source§impl Clone for b2TOIInput
impl Clone for b2TOIInput
Source§fn clone(&self) -> b2TOIInput
fn clone(&self) -> b2TOIInput
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 b2TOIInput
impl Debug for b2TOIInput
impl Copy for b2TOIInput
Auto Trait Implementations§
impl Freeze for b2TOIInput
impl RefUnwindSafe for b2TOIInput
impl Send for b2TOIInput
impl Sync for b2TOIInput
impl Unpin for b2TOIInput
impl UnwindSafe for b2TOIInput
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)