pub struct SoftDemand {
pub particles: u32,
pub elements: u32,
pub attachments: u32,
pub adjacency: u32,
pub soft_bodies: u32,
pub rigid_bodies: u32,
}Fields§
§particles: u32§elements: u32§attachments: u32§adjacency: u32§soft_bodies: u32§rigid_bodies: u32Implementations§
Source§impl SoftDemand
impl SoftDemand
pub const fn reaction_words(&self) -> u32
pub const fn element_contributions(&self) -> u32
Trait Implementations§
Source§impl Clone for SoftDemand
impl Clone for SoftDemand
Source§fn clone(&self) -> SoftDemand
fn clone(&self) -> SoftDemand
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 SoftDemand
impl Eq for SoftDemand
Source§impl PartialEq for SoftDemand
impl PartialEq for SoftDemand
impl StructuralPartialEq for SoftDemand
Auto Trait Implementations§
impl Freeze for SoftDemand
impl RefUnwindSafe for SoftDemand
impl Send for SoftDemand
impl Sync for SoftDemand
impl Unpin for SoftDemand
impl UnsafeUnpin for SoftDemand
impl UnwindSafe for SoftDemand
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.