pub enum PhysicalDeckConfigError {
InvalidNonnegative {
field: &'static str,
},
InvalidPositive {
field: &'static str,
},
BelowMinimum {
field: &'static str,
minimum: f64,
},
AboveMaximum {
field: &'static str,
maximum: f64,
},
KineticExceedsStatic {
contact: &'static str,
},
UnstableIntegration {
field: &'static str,
},
}Variants§
InvalidNonnegative
InvalidPositive
BelowMinimum
AboveMaximum
KineticExceedsStatic
UnstableIntegration
Trait Implementations§
Source§impl Clone for PhysicalDeckConfigError
impl Clone for PhysicalDeckConfigError
Source§fn clone(&self) -> PhysicalDeckConfigError
fn clone(&self) -> PhysicalDeckConfigError
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 PhysicalDeckConfigError
Source§impl Debug for PhysicalDeckConfigError
impl Debug for PhysicalDeckConfigError
Source§impl Display for PhysicalDeckConfigError
impl Display for PhysicalDeckConfigError
Source§impl Error for PhysicalDeckConfigError
impl Error for PhysicalDeckConfigError
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<PhysicalDeckConfigError> for DeckMechanicalError
impl From<PhysicalDeckConfigError> for DeckMechanicalError
Source§fn from(source: PhysicalDeckConfigError) -> Self
fn from(source: PhysicalDeckConfigError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PhysicalDeckConfigError
impl PartialEq for PhysicalDeckConfigError
impl StructuralPartialEq for PhysicalDeckConfigError
Auto Trait Implementations§
impl Freeze for PhysicalDeckConfigError
impl RefUnwindSafe for PhysicalDeckConfigError
impl Send for PhysicalDeckConfigError
impl Sync for PhysicalDeckConfigError
impl Unpin for PhysicalDeckConfigError
impl UnsafeUnpin for PhysicalDeckConfigError
impl UnwindSafe for PhysicalDeckConfigError
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