pub struct RainflowCycle {
pub range: f64,
pub mean: f64,
pub count: f64,
}Expand description
A counted fatigue cycle from rainflow analysis.
Fields§
§range: f64Cycle range (peak − valley).
mean: f64Cycle mean ((peak + valley) / 2).
count: f64Counting weight (1.0 for full cycle, 0.5 for half-cycle).
Implementations§
Source§impl RainflowCycle
impl RainflowCycle
Trait Implementations§
Source§impl Clone for RainflowCycle
impl Clone for RainflowCycle
Source§fn clone(&self) -> RainflowCycle
fn clone(&self) -> RainflowCycle
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 RainflowCycle
impl Debug for RainflowCycle
Source§impl PartialEq for RainflowCycle
impl PartialEq for RainflowCycle
Source§fn eq(&self, other: &RainflowCycle) -> bool
fn eq(&self, other: &RainflowCycle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RainflowCycle
Auto Trait Implementations§
impl Freeze for RainflowCycle
impl RefUnwindSafe for RainflowCycle
impl Send for RainflowCycle
impl Sync for RainflowCycle
impl Unpin for RainflowCycle
impl UnsafeUnpin for RainflowCycle
impl UnwindSafe for RainflowCycle
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