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