pub struct ToiInput {
pub proxy_a: ShapeProxy,
pub proxy_b: ShapeProxy,
pub sweep_a: Sweep,
pub sweep_b: Sweep,
pub max_fraction: f32,
}Expand description
Time of impact input. (b2TOIInput)
Fields§
§proxy_a: ShapeProxyThe proxy for shape A
proxy_b: ShapeProxyThe proxy for shape B
sweep_a: SweepThe movement of shape A
sweep_b: SweepThe movement of shape B
max_fraction: f32Defines the sweep interval [0, max_fraction]
Trait Implementations§
impl Copy for ToiInput
impl StructuralPartialEq for ToiInput
Auto Trait Implementations§
impl Freeze for ToiInput
impl RefUnwindSafe for ToiInput
impl Send for ToiInput
impl Sync for ToiInput
impl Unpin for ToiInput
impl UnsafeUnpin for ToiInput
impl UnwindSafe for ToiInput
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