pub struct WorldPhysicsBudget(pub PhysicsBudgetRecord);Expand description
The world’s physics reservation as cook counted it, published at blob load. Absent when the world declares no physics content, or when the world was built in memory rather than loaded from a blob; the simulation then counts the loaded components itself.
Lives here rather than with the engine’s other blob resources because the simulation driver reads it, and the engine depends on the driver.
Tuple Fields§
§0: PhysicsBudgetRecordAuto Trait Implementations§
impl Freeze for WorldPhysicsBudget
impl RefUnwindSafe for WorldPhysicsBudget
impl Send for WorldPhysicsBudget
impl Sync for WorldPhysicsBudget
impl Unpin for WorldPhysicsBudget
impl UnsafeUnpin for WorldPhysicsBudget
impl UnwindSafe for WorldPhysicsBudget
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