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