Enum sparkl3d_core::dynamics::solver::DamageModel
source · #[repr(C)]
pub enum DamageModel {
CdMpm,
Eigenerosion,
ModifiedEigenerosion,
None,
}Variants§
Trait Implementations§
source§impl Clone for DamageModel
impl Clone for DamageModel
source§fn clone(&self) -> DamageModel
fn clone(&self) -> DamageModel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DamageModel
impl Debug for DamageModel
source§impl PartialEq<DamageModel> for DamageModel
impl PartialEq<DamageModel> for DamageModel
source§fn eq(&self, other: &DamageModel) -> bool
fn eq(&self, other: &DamageModel) -> bool
impl Copy for DamageModel
impl StructuralPartialEq for DamageModel
Auto Trait Implementations§
impl RefUnwindSafe for DamageModel
impl Send for DamageModel
impl Sync for DamageModel
impl Unpin for DamageModel
impl UnwindSafe for DamageModel
Blanket Implementations§
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.