pub enum ModalSetError {
Show 20 variants
InvalidDofPerNode {
dof_per_node: usize,
},
InvalidNodeCount {
n_nodes: usize,
},
InvalidShapeLength {
index: usize,
expected: usize,
actual: usize,
},
InvalidFrequency {
index: usize,
freq: f64,
},
InvalidWeight {
index: usize,
weight: f64,
},
InvalidObservedDamping {
index: usize,
value: f64,
},
InvalidQuality {
index: usize,
value: f64,
},
LayoutMismatch {
lhs: ShapeLayout,
rhs: ShapeLayout,
},
IndexOutOfBounds {
index: usize,
len: usize,
},
InvalidShapeNorm {
index: usize,
norm: f64,
},
InvalidComponentIndex {
index: usize,
dof_per_node: usize,
},
GammaLengthMismatch {
expected: usize,
actual: usize,
},
InvalidGamma {
index: usize,
value: f64,
},
InvalidNodeIndex {
index: usize,
n_nodes: usize,
},
InvalidDuration {
duration: f64,
},
InvalidSampleRate {
sample_rate: f64,
},
InvalidExcitationDelay {
delay: f64,
},
InvalidExcitationGain {
gain: f64,
},
InvalidExcitationPhase {
phase: f64,
},
SourceAmplitudeLengthMismatch {
expected: usize,
actual: usize,
},
}Variants§
InvalidDofPerNode
InvalidNodeCount
InvalidShapeLength
InvalidFrequency
InvalidWeight
InvalidObservedDamping
InvalidQuality
LayoutMismatch
IndexOutOfBounds
InvalidShapeNorm
InvalidComponentIndex
GammaLengthMismatch
InvalidGamma
InvalidNodeIndex
InvalidDuration
InvalidSampleRate
InvalidExcitationDelay
InvalidExcitationGain
InvalidExcitationPhase
SourceAmplitudeLengthMismatch
Trait Implementations§
Source§impl Clone for ModalSetError
impl Clone for ModalSetError
Source§fn clone(&self) -> ModalSetError
fn clone(&self) -> ModalSetError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModalSetError
impl Debug for ModalSetError
Source§impl Display for ModalSetError
impl Display for ModalSetError
Source§impl Error for ModalSetError
impl Error for ModalSetError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for ModalSetError
impl PartialEq for ModalSetError
impl StructuralPartialEq for ModalSetError
Auto Trait Implementations§
impl Freeze for ModalSetError
impl RefUnwindSafe for ModalSetError
impl Send for ModalSetError
impl Sync for ModalSetError
impl Unpin for ModalSetError
impl UnsafeUnpin for ModalSetError
impl UnwindSafe for ModalSetError
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