pub struct StateDemand {
pub bodies: u32,
pub body_ids: u32,
pub colliders: u32,
pub constraints: u32,
pub body_commands: u32,
pub constraint_commands: u32,
pub queries: u32,
pub shapes: ShapeCapacity,
pub observed: u32,
}Fields§
§bodies: u32§body_ids: u32§colliders: u32§constraints: u32§body_commands: u32§constraint_commands: u32§queries: u32§shapes: ShapeCapacity§observed: u32Implementations§
Source§impl StateDemand
impl StateDemand
pub fn body_moves(&self) -> u32
pub fn constraint_moves(&self) -> u32
Trait Implementations§
Source§impl Clone for StateDemand
impl Clone for StateDemand
Source§fn clone(&self) -> StateDemand
fn clone(&self) -> StateDemand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StateDemand
impl Eq for StateDemand
Source§impl PartialEq for StateDemand
impl PartialEq for StateDemand
impl StructuralPartialEq for StateDemand
Auto Trait Implementations§
impl Freeze for StateDemand
impl RefUnwindSafe for StateDemand
impl Send for StateDemand
impl Sync for StateDemand
impl Unpin for StateDemand
impl UnsafeUnpin for StateDemand
impl UnwindSafe for StateDemand
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.