pub struct WaterfallConfig {
pub elements: usize,
pub rows: u32,
pub row_period: f32,
pub easing: Easing,
}Expand description
The [waterfall] table, validated (ADR-0180 rule 1).
Fields§
§elements: usizeBands across a row, 2..=SPECTRUM_BINS.
rows: u32§row_period: f32Seconds between two pushed rows, in
MIN_ROW_PERIOD..=MAX_ROW_PERIOD.
easing: EasingPer-band easing, in the [smoothing] vocabulary (ADR-0035).
Trait Implementations§
Source§impl Clone for WaterfallConfig
impl Clone for WaterfallConfig
Source§fn clone(&self) -> WaterfallConfig
fn clone(&self) -> WaterfallConfig
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 WaterfallConfig
impl Debug for WaterfallConfig
Source§impl Default for WaterfallConfig
impl Default for WaterfallConfig
Source§impl PartialEq for WaterfallConfig
impl PartialEq for WaterfallConfig
Source§fn eq(&self, other: &WaterfallConfig) -> bool
fn eq(&self, other: &WaterfallConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WaterfallConfig
impl StructuralPartialEq for WaterfallConfig
Auto Trait Implementations§
impl Freeze for WaterfallConfig
impl RefUnwindSafe for WaterfallConfig
impl Send for WaterfallConfig
impl Sync for WaterfallConfig
impl Unpin for WaterfallConfig
impl UnsafeUnpin for WaterfallConfig
impl UnwindSafe for WaterfallConfig
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