Struct ExMoveAndCollide
pub struct ExMoveAndCollide<'a> { /* private fields */ }
Expand description
Default-param extender for PhysicsBody2D::move_and_collide_ex
.
Implementations§
§impl<'a> ExMoveAndCollide<'a>
impl<'a> ExMoveAndCollide<'a>
pub fn test_only(self, value: bool) -> ExMoveAndCollide<'a>
pub fn safe_margin(self, value: f32) -> ExMoveAndCollide<'a>
pub fn recovery_as_collision(self, value: bool) -> ExMoveAndCollide<'a>
pub fn done(self) -> Option<Gd<KinematicCollision2D>>
Auto Trait Implementations§
impl<'a> Freeze for ExMoveAndCollide<'a>
impl<'a> RefUnwindSafe for ExMoveAndCollide<'a>
impl<'a> !Send for ExMoveAndCollide<'a>
impl<'a> !Sync for ExMoveAndCollide<'a>
impl<'a> Unpin for ExMoveAndCollide<'a>
impl<'a> !UnwindSafe for ExMoveAndCollide<'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