pub struct CycleEffect {
pub cycle_factor: f64,
pub is_recession: bool,
pub cycle_position: f64,
}Expand description
Cycle effect at a point in time.
Fields§
§cycle_factor: f64Cycle factor (multiplier).
is_recession: boolWhether in recession.
cycle_position: f64Position in cycle (0.0 to 1.0).
Trait Implementations§
Source§impl Clone for CycleEffect
impl Clone for CycleEffect
Source§fn clone(&self) -> CycleEffect
fn clone(&self) -> CycleEffect
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 moreAuto Trait Implementations§
impl Freeze for CycleEffect
impl RefUnwindSafe for CycleEffect
impl Send for CycleEffect
impl Sync for CycleEffect
impl Unpin for CycleEffect
impl UnwindSafe for CycleEffect
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