pub enum ArcFailureDetail {
NotConverged,
Stagnated,
NoDescent,
NonFinite,
SingularSystem,
InaccurateSolve,
BranchOrientation,
DegenerateConstraint,
}Expand description
core::ArcFailure, restated for the wire.
Variants§
NotConverged
Stagnated
NoDescent
NonFinite
SingularSystem
InaccurateSolve
BranchOrientation
DegenerateConstraint
Trait Implementations§
Source§impl Clone for ArcFailureDetail
impl Clone for ArcFailureDetail
Source§fn clone(&self) -> ArcFailureDetail
fn clone(&self) -> ArcFailureDetail
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 ArcFailureDetail
Source§impl Debug for ArcFailureDetail
impl Debug for ArcFailureDetail
impl Eq for ArcFailureDetail
Source§impl From<ArcFailure> for ArcFailureDetail
impl From<ArcFailure> for ArcFailureDetail
Source§impl PartialEq for ArcFailureDetail
impl PartialEq for ArcFailureDetail
Source§impl Serialize for ArcFailureDetail
impl Serialize for ArcFailureDetail
impl StructuralPartialEq for ArcFailureDetail
Source§impl Tsify for ArcFailureDetail
impl Tsify for ArcFailureDetail
const DECL: &'static str = "/**\n * `core::ArcFailure`, restated for the wire.\n */\nexport type ArcFailureDetail = \"notConverged\" | \"stagnated\" | \"noDescent\" | \"nonFinite\" | \"singularSystem\" | \"inaccurateSolve\" | \"branchOrientation\" | \"degenerateConstraint\";"
const SERIALIZATION_CONFIG: SerializationConfig
Source§type JsType = JsType
type JsType = JsType
Must be a type imported through
#[wasm_bindgen] extern "C" { .. }.
[Ts<T>] is #[repr(transparent)] over this and passes it across the
ABI as a plain JS handle, which any other representation would break.fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
Auto Trait Implementations§
impl Freeze for ArcFailureDetail
impl RefUnwindSafe for ArcFailureDetail
impl Send for ArcFailureDetail
impl Sync for ArcFailureDetail
impl Unpin for ArcFailureDetail
impl UnsafeUnpin for ArcFailureDetail
impl UnwindSafe for ArcFailureDetail
Blanket Implementations§
impl<T> Boilerplate for T
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, U> Imply<T> for U
impl<T> Scalar for T
§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.