pub enum SolveStrategy {
Auto,
Monolithic,
Decomposed,
}Expand description
Solving strategy (§7.5–7.6). Auto decomposes when possible and falls
back to the monolithic solve when it must, so it is always safe.
Variants§
Auto
Decompose when possible (sequential peeling + rigid clusters), fall back to monolithic when required. The default.
Monolithic
One Levenberg-Marquardt solve over all movable bodies (§7.3 v1).
Decomposed
Force the decomposition pipeline. Genuinely coupled cycles still get a per-component monolithic fallback, and a decomposed result that misses the global tolerance is redone monolithically (reported as such).
Trait Implementations§
Source§impl Clone for SolveStrategy
impl Clone for SolveStrategy
Source§fn clone(&self) -> SolveStrategy
fn clone(&self) -> SolveStrategy
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 SolveStrategy
Source§impl Debug for SolveStrategy
impl Debug for SolveStrategy
Source§impl Default for SolveStrategy
impl Default for SolveStrategy
Source§fn default() -> SolveStrategy
fn default() -> SolveStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SolveStrategy
impl<'de> Deserialize<'de> for SolveStrategy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SolveStrategy
Source§impl PartialEq for SolveStrategy
impl PartialEq for SolveStrategy
Source§impl Serialize for SolveStrategy
impl Serialize for SolveStrategy
impl StructuralPartialEq for SolveStrategy
Auto Trait Implementations§
impl Freeze for SolveStrategy
impl RefUnwindSafe for SolveStrategy
impl Send for SolveStrategy
impl Sync for SolveStrategy
impl Unpin for SolveStrategy
impl UnsafeUnpin for SolveStrategy
impl UnwindSafe for SolveStrategy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.