pub enum WaveformDisplayMode {
Anchored,
Mirrored,
}Expand description
Arrangement of bars relative to the baseline.
Variants§
Anchored
Bar’s bottom edge sits on baseline_y; grows upward.
Mirrored
Bar is centered on baseline_y; extends half up + half down.
Trait Implementations§
Source§impl Clone for WaveformDisplayMode
impl Clone for WaveformDisplayMode
Source§fn clone(&self) -> WaveformDisplayMode
fn clone(&self) -> WaveformDisplayMode
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 WaveformDisplayMode
impl Debug for WaveformDisplayMode
Source§impl Default for WaveformDisplayMode
impl Default for WaveformDisplayMode
Source§fn default() -> WaveformDisplayMode
fn default() -> WaveformDisplayMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for WaveformDisplayMode
impl PartialEq for WaveformDisplayMode
Source§fn eq(&self, other: &WaveformDisplayMode) -> bool
fn eq(&self, other: &WaveformDisplayMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WaveformDisplayMode
impl Eq for WaveformDisplayMode
impl StructuralPartialEq for WaveformDisplayMode
Auto Trait Implementations§
impl Freeze for WaveformDisplayMode
impl RefUnwindSafe for WaveformDisplayMode
impl Send for WaveformDisplayMode
impl Sync for WaveformDisplayMode
impl Unpin for WaveformDisplayMode
impl UnsafeUnpin for WaveformDisplayMode
impl UnwindSafe for WaveformDisplayMode
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