pub enum EnergyError {
InvalidPower,
InvalidReferencePower,
InvalidAmplitude,
InvalidReferenceAmplitude,
}Variants§
Trait Implementations§
Source§impl Clone for EnergyError
impl Clone for EnergyError
Source§fn clone(&self) -> EnergyError
fn clone(&self) -> EnergyError
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 moreSource§impl Debug for EnergyError
impl Debug for EnergyError
Source§impl PartialEq for EnergyError
impl PartialEq for EnergyError
Source§fn eq(&self, other: &EnergyError) -> bool
fn eq(&self, other: &EnergyError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EnergyError
impl Eq for EnergyError
impl StructuralPartialEq for EnergyError
Auto Trait Implementations§
impl Freeze for EnergyError
impl RefUnwindSafe for EnergyError
impl Send for EnergyError
impl Sync for EnergyError
impl Unpin for EnergyError
impl UnsafeUnpin for EnergyError
impl UnwindSafe for EnergyError
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