Struct ExApplyCentralForce
pub struct ExApplyCentralForce<'ex> { /* private fields */ }Expand description
Default-param extender for PhysicsDirectBodyState2D::apply_central_force_ex.
Implementations§
§impl<'ex> ExApplyCentralForce<'ex>
impl<'ex> ExApplyCentralForce<'ex>
pub fn force(self, force: Vector2) -> ExApplyCentralForce<'ex>
pub fn done(self)
Auto Trait Implementations§
impl<'ex> Freeze for ExApplyCentralForce<'ex>
impl<'ex> RefUnwindSafe for ExApplyCentralForce<'ex>
impl<'ex> !Send for ExApplyCentralForce<'ex>
impl<'ex> !Sync for ExApplyCentralForce<'ex>
impl<'ex> Unpin for ExApplyCentralForce<'ex>
impl<'ex> !UnwindSafe for ExApplyCentralForce<'ex>
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