#[non_exhaustive]
pub enum StreamVolumeFormat {
Linear,
Cubic,
Db,
// some variants omitted
}Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Linear
Cubic
Db
Trait Implementations
sourceimpl Clone for StreamVolumeFormat
impl Clone for StreamVolumeFormat
sourcefn clone(&self) -> StreamVolumeFormat
fn clone(&self) -> StreamVolumeFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for StreamVolumeFormat
impl Debug for StreamVolumeFormat
sourceimpl Hash for StreamVolumeFormat
impl Hash for StreamVolumeFormat
sourceimpl Ord for StreamVolumeFormat
impl Ord for StreamVolumeFormat
sourcefn cmp(&self, other: &StreamVolumeFormat) -> Ordering
fn cmp(&self, other: &StreamVolumeFormat) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<StreamVolumeFormat> for StreamVolumeFormat
impl PartialEq<StreamVolumeFormat> for StreamVolumeFormat
sourcefn eq(&self, other: &StreamVolumeFormat) -> bool
fn eq(&self, other: &StreamVolumeFormat) -> bool
sourceimpl PartialOrd<StreamVolumeFormat> for StreamVolumeFormat
impl PartialOrd<StreamVolumeFormat> for StreamVolumeFormat
sourcefn partial_cmp(&self, other: &StreamVolumeFormat) -> Option<Ordering>
fn partial_cmp(&self, other: &StreamVolumeFormat) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for StreamVolumeFormat
impl Eq for StreamVolumeFormat
impl StructuralEq for StreamVolumeFormat
impl StructuralPartialEq for StreamVolumeFormat
Auto Trait Implementations
impl RefUnwindSafe for StreamVolumeFormat
impl Send for StreamVolumeFormat
impl Sync for StreamVolumeFormat
impl Unpin for StreamVolumeFormat
impl UnwindSafe for StreamVolumeFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more