Struct ExBodyTestMotion
pub struct ExBodyTestMotion<'ex> { /* private fields */ }Expand description
Default-param extender for PhysicsServer2D::body_test_motion_ex.
Implementations§
§impl<'ex> ExBodyTestMotion<'ex>
impl<'ex> ExBodyTestMotion<'ex>
pub fn result( self, result: impl AsArg<Option<Gd<PhysicsTestMotionResult2D>>> + 'ex, ) -> ExBodyTestMotion<'ex>
pub fn done(self) -> bool
Auto Trait Implementations§
impl<'ex> !Send for ExBodyTestMotion<'ex>
impl<'ex> !Sync for ExBodyTestMotion<'ex>
impl<'ex> !UnwindSafe for ExBodyTestMotion<'ex>
impl<'ex> Forget for ExBodyTestMotion<'ex>
impl<'ex> Freeze for ExBodyTestMotion<'ex>where
PhantomData<&'ex ()>: Freeze,
&'ex mut PhysicsServer2D: Freeze,
NonZero<u64>: Freeze,
*mut PhysicsTestMotionParameters2D: Freeze,
(): Freeze,
&'ex Gd<PhysicsTestMotionParameters2D>: Freeze,
*mut PhysicsTestMotionResult2D: Freeze,
&'ex Option<Gd<PhysicsTestMotionResult2D>>: Freeze,
impl<'ex> Move for ExBodyTestMotion<'ex>
impl<'ex> RefUnwindSafe for ExBodyTestMotion<'ex>
impl<'ex> Unpin for ExBodyTestMotion<'ex>where
&'ex (): Unpin,
&'ex mut PhysicsServer2D: Unpin,
NonZero<u64>: Unpin,
*mut PhysicsTestMotionParameters2D: Unpin,
(): Unpin,
&'ex Gd<PhysicsTestMotionParameters2D>: Unpin,
*mut PhysicsTestMotionResult2D: Unpin,
&'ex Option<Gd<PhysicsTestMotionResult2D>>: Unpin,
impl<'ex> UnsafeUnpin for ExBodyTestMotion<'ex>where
PhantomData<&'ex ()>: UnsafeUnpin,
&'ex mut PhysicsServer2D: UnsafeUnpin,
NonZeroU64Inner: UnsafeUnpin,
*mut PhysicsTestMotionParameters2D: UnsafeUnpin,
(): UnsafeUnpin,
&'ex Gd<PhysicsTestMotionParameters2D>: UnsafeUnpin,
*mut PhysicsTestMotionResult2D: UnsafeUnpin,
&'ex Option<Gd<PhysicsTestMotionResult2D>>: UnsafeUnpin,
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