pub struct RigidDemand {
pub bodies: u32,
pub colliders: u32,
pub constraints: u32,
pub pairs: u32,
pub events: u32,
pub sort: u32,
}Fields§
§bodies: u32§colliders: u32§constraints: u32§pairs: u32§events: u32§sort: u32Implementations§
Source§impl RigidDemand
impl RigidDemand
pub fn blocks(&self) -> u32
pub fn solver_words(&self) -> u32
pub fn body_words(&self) -> u32
pub fn compact_blocks(&self) -> u32
pub fn sort_slots(pairs: u32, constraints: u32) -> u32
Trait Implementations§
Source§impl Clone for RigidDemand
impl Clone for RigidDemand
Source§fn clone(&self) -> RigidDemand
fn clone(&self) -> RigidDemand
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 RigidDemand
impl Eq for RigidDemand
Source§impl PartialEq for RigidDemand
impl PartialEq for RigidDemand
impl StructuralPartialEq for RigidDemand
Auto Trait Implementations§
impl Freeze for RigidDemand
impl RefUnwindSafe for RigidDemand
impl Send for RigidDemand
impl Sync for RigidDemand
impl Unpin for RigidDemand
impl UnsafeUnpin for RigidDemand
impl UnwindSafe for RigidDemand
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.