pub struct NoDecayEnergies;Expand description
A DecayEnergyProvider that knows no decay energies.
Every lookup returns None, so heat calculations fail explicitly with
AnalyticsError::MissingEnergy.
Trait Implementations§
Source§impl Clone for NoDecayEnergies
impl Clone for NoDecayEnergies
Source§fn clone(&self) -> NoDecayEnergies
fn clone(&self) -> NoDecayEnergies
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 NoDecayEnergies
Source§impl Debug for NoDecayEnergies
impl Debug for NoDecayEnergies
Source§impl Default for NoDecayEnergies
impl Default for NoDecayEnergies
Source§fn default() -> NoDecayEnergies
fn default() -> NoDecayEnergies
Returns the “default value” for a type. Read more
impl Eq for NoDecayEnergies
Source§impl PartialEq for NoDecayEnergies
impl PartialEq for NoDecayEnergies
impl StructuralPartialEq for NoDecayEnergies
Auto Trait Implementations§
impl Freeze for NoDecayEnergies
impl RefUnwindSafe for NoDecayEnergies
impl Send for NoDecayEnergies
impl Sync for NoDecayEnergies
impl Unpin for NoDecayEnergies
impl UnsafeUnpin for NoDecayEnergies
impl UnwindSafe for NoDecayEnergies
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