pub struct Eps {
pub pos: f32,
pub vel: f32,
}Expand description
Settle thresholds: a motion is settled once its distance to the target stays within pos
and its speed within vel (units per second) for good.
Fields§
§pos: f32Largest distance from the target, in the value’s units.
vel: f32Largest speed, in the value’s units per second.
Implementations§
Trait Implementations§
impl Copy for Eps
impl StructuralPartialEq for Eps
Auto Trait Implementations§
impl Forget for Eps
impl Freeze for Eps
impl Move for Eps
impl RefUnwindSafe for Eps
impl Send for Eps
impl Sync for Eps
impl Unpin for Eps
impl UnsafeUnpin for Eps
impl UnwindSafe for Eps
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