Struct ExMoveAndCollide
pub struct ExMoveAndCollide<'a> { /* private fields */ }
Expand description
Default-param extender for PhysicsBody3D::move_and_collide_ex
.
Implementations§
§impl<'a> ExMoveAndCollide<'a>
impl<'a> ExMoveAndCollide<'a>
pub fn test_only(self, test_only: bool) -> ExMoveAndCollide<'a>
pub fn safe_margin(self, safe_margin: f32) -> ExMoveAndCollide<'a>
pub fn recovery_as_collision( self, recovery_as_collision: bool, ) -> ExMoveAndCollide<'a>
pub fn max_collisions(self, max_collisions: i32) -> ExMoveAndCollide<'a>
pub fn done(self) -> Option<Gd<KinematicCollision3D>>
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