pub enum M2CtrlError {
MatFile(MatioError),
Stiffness,
Fem(FemError),
DataSourceMatFile,
IOError(Error),
Encode(EncodeError),
Decode(DecodeError),
MatrixSizeMismatch((usize, usize), (usize, usize)),
InverseStiffness,
}
Variants§
MatFile(MatioError)
Stiffness
Fem(FemError)
DataSourceMatFile
IOError(Error)
Encode(EncodeError)
Decode(DecodeError)
MatrixSizeMismatch((usize, usize), (usize, usize))
InverseStiffness
Trait Implementations§
source§impl Debug for M2CtrlError
impl Debug for M2CtrlError
source§impl Display for M2CtrlError
impl Display for M2CtrlError
source§impl Error for M2CtrlError
impl Error for M2CtrlError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<DecodeError> for M2CtrlError
impl From<DecodeError> for M2CtrlError
source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
source§impl From<EncodeError> for M2CtrlError
impl From<EncodeError> for M2CtrlError
source§fn from(source: EncodeError) -> Self
fn from(source: EncodeError) -> Self
Converts to this type from the input type.
source§impl From<Error> for M2CtrlError
impl From<Error> for M2CtrlError
source§impl From<FemError> for M2CtrlError
impl From<FemError> for M2CtrlError
source§impl From<MatioError> for M2CtrlError
impl From<MatioError> for M2CtrlError
source§fn from(source: MatioError) -> Self
fn from(source: MatioError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for M2CtrlError
impl !RefUnwindSafe for M2CtrlError
impl Send for M2CtrlError
impl Sync for M2CtrlError
impl Unpin for M2CtrlError
impl !UnwindSafe for M2CtrlError
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> 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 moresource§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§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 moresource§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).source§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.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.