pub struct IkSolveOptions {
pub tolerance: f32,
pub max_iterations_cap: Option<u32>,
}Fields§
§tolerance: f32Goal distance at or below which the solver stops. Defaults to 1e-4 model units.
max_iterations_cap: Option<u32>Optional per-chain iteration cap. Defaults to the iteration count stored in the model.
Trait Implementations§
Source§impl Clone for IkSolveOptions
impl Clone for IkSolveOptions
Source§fn clone(&self) -> IkSolveOptions
fn clone(&self) -> IkSolveOptions
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 IkSolveOptions
Source§impl Debug for IkSolveOptions
impl Debug for IkSolveOptions
Source§impl Default for IkSolveOptions
impl Default for IkSolveOptions
Source§impl PartialEq for IkSolveOptions
impl PartialEq for IkSolveOptions
impl StructuralPartialEq for IkSolveOptions
Auto Trait Implementations§
impl Freeze for IkSolveOptions
impl RefUnwindSafe for IkSolveOptions
impl Send for IkSolveOptions
impl Sync for IkSolveOptions
impl Unpin for IkSolveOptions
impl UnsafeUnpin for IkSolveOptions
impl UnwindSafe for IkSolveOptions
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more