pub struct PhysicsPlugin<const LOCKING: bool> { /* private fields */ }Implementations§
Source§impl<const LOCKING: bool> PhysicsPlugin<LOCKING>
impl<const LOCKING: bool> PhysicsPlugin<LOCKING>
pub fn barebones() -> Self
pub fn simulation(self, simulation: PhysicsSimulation) -> Self
pub fn shape_overlap_query(self, query: ShapeOverlapQuery) -> Self
pub fn install_repulsive_collision(self, install: bool) -> Self
pub fn install_apply_gravity(self, install: bool) -> Self
pub fn install_apply_external_forces(self, install: bool) -> Self
pub fn install_integrate_velocities(self, install: bool) -> Self
pub fn install_collect_contacts(self, install: bool) -> Self
pub fn repulsive_collision_callbacks( self, callbacks: RepulsiveCollisionCallbacks, ) -> Self
pub fn install_dampening_solver(self, install: bool) -> Self
pub fn install_distance_constraints_solver(self, install: bool) -> Self
pub fn make(self) -> GraphSchedulerPlugin<LOCKING>
Trait Implementations§
Auto Trait Implementations§
impl<const LOCKING: bool> Freeze for PhysicsPlugin<LOCKING>
impl<const LOCKING: bool> !RefUnwindSafe for PhysicsPlugin<LOCKING>
impl<const LOCKING: bool> Send for PhysicsPlugin<LOCKING>
impl<const LOCKING: bool> Sync for PhysicsPlugin<LOCKING>
impl<const LOCKING: bool> Unpin for PhysicsPlugin<LOCKING>
impl<const LOCKING: bool> UnsafeUnpin for PhysicsPlugin<LOCKING>
impl<const LOCKING: bool> !UnwindSafe for PhysicsPlugin<LOCKING>
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