pub enum SpectrumLayout {
Bars,
Polyline,
RadialRing,
}Expand description
Which figure the elements form. Selected once at preset load through the
[spectrum] table; an unknown name is a surfaced load error (ADR-0007).
Variants§
Bars
Upright bars standing on a common baseline — the classic readout.
Polyline
A single continuous line through one point per element: the same data as a contour rather than a comb.
RadialRing
Spokes radiating outward from a ring, one per element, with the frequency axis wrapped around the circle.
Implementations§
Trait Implementations§
Source§impl Clone for SpectrumLayout
impl Clone for SpectrumLayout
Source§fn clone(&self) -> SpectrumLayout
fn clone(&self) -> SpectrumLayout
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 SpectrumLayout
impl Debug for SpectrumLayout
Source§impl Default for SpectrumLayout
impl Default for SpectrumLayout
Source§fn default() -> SpectrumLayout
fn default() -> SpectrumLayout
Returns the “default value” for a type. Read more
Source§impl PartialEq for SpectrumLayout
impl PartialEq for SpectrumLayout
Source§fn eq(&self, other: &SpectrumLayout) -> bool
fn eq(&self, other: &SpectrumLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SpectrumLayout
impl Eq for SpectrumLayout
impl StructuralPartialEq for SpectrumLayout
Auto Trait Implementations§
impl Freeze for SpectrumLayout
impl RefUnwindSafe for SpectrumLayout
impl Send for SpectrumLayout
impl Sync for SpectrumLayout
impl Unpin for SpectrumLayout
impl UnsafeUnpin for SpectrumLayout
impl UnwindSafe for SpectrumLayout
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.