#[non_exhaustive]pub enum SoftBodyError {
InitFailed,
InvalidValue(&'static str),
}Expand description
Why SoftBodySharedSettings could not be built.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InitFailed
Jolt’s one-time global initialisation failed.
InvalidValue(&'static str)
A vertex, face, constraint or attribute is out of range; the payload names the rule.
Trait Implementations§
Source§impl Clone for SoftBodyError
impl Clone for SoftBodyError
impl Copy for SoftBodyError
Source§impl Debug for SoftBodyError
impl Debug for SoftBodyError
Source§impl Display for SoftBodyError
impl Display for SoftBodyError
impl Eq for SoftBodyError
Source§impl Error for SoftBodyError
impl Error for SoftBodyError
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 From<SoftBodyError> for Error
impl From<SoftBodyError> for Error
Source§fn from(error: SoftBodyError) -> Self
fn from(error: SoftBodyError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SoftBodyError
impl PartialEq for SoftBodyError
impl StructuralPartialEq for SoftBodyError
Auto Trait Implementations§
impl Freeze for SoftBodyError
impl RefUnwindSafe for SoftBodyError
impl Send for SoftBodyError
impl Sync for SoftBodyError
impl Unpin for SoftBodyError
impl UnsafeUnpin for SoftBodyError
impl UnwindSafe for SoftBodyError
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