pub struct ConvergenceEntry {
pub iteration: u32,
pub residual: f64,
}Expand description
Convergence history entry.
Fields§
§iteration: u32Iteration index (0-based).
residual: f64Residual norm at this iteration.
Trait Implementations§
Source§impl FromNapiValue for ConvergenceEntry
impl FromNapiValue for ConvergenceEntry
Source§unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
Safety Read more
fn from_unknown(value: JsUnknown) -> Result<Self, Error>
Source§impl ToNapiValue for ConvergenceEntry
impl ToNapiValue for ConvergenceEntry
Source§unsafe fn to_napi_value(
env: napi_env,
val: ConvergenceEntry,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: ConvergenceEntry, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for ConvergenceEntry
impl TypeName for ConvergenceEntry
Source§impl ValidateNapiValue for ConvergenceEntry
impl ValidateNapiValue for ConvergenceEntry
Source§unsafe fn validate(
env: *mut napi_env__,
napi_val: *mut napi_value__,
) -> Result<*mut napi_value__, Error>
unsafe fn validate( env: *mut napi_env__, napi_val: *mut napi_value__, ) -> Result<*mut napi_value__, Error>
Safety Read more
Auto Trait Implementations§
impl Freeze for ConvergenceEntry
impl RefUnwindSafe for ConvergenceEntry
impl Send for ConvergenceEntry
impl Sync for ConvergenceEntry
impl Unpin for ConvergenceEntry
impl UnsafeUnpin for ConvergenceEntry
impl UnwindSafe for ConvergenceEntry
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