Enum ConcertPitchStandard
pub enum ConcertPitchStandard {
A440,
A432,
A415,
Custom,
}Variants§
Implementations§
§impl ConcertPitchStandard
impl ConcertPitchStandard
pub const ALL: &'static [ConcertPitchStandard]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for ConcertPitchStandard
impl Clone for ConcertPitchStandard
§fn clone(&self) -> ConcertPitchStandard
fn clone(&self) -> ConcertPitchStandard
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ConcertPitchStandard
impl Debug for ConcertPitchStandard
§impl Display for ConcertPitchStandard
impl Display for ConcertPitchStandard
§impl FromStr for ConcertPitchStandard
impl FromStr for ConcertPitchStandard
§type Err = TuningError
type Err = TuningError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<ConcertPitchStandard, <ConcertPitchStandard as FromStr>::Err>
fn from_str( value: &str, ) -> Result<ConcertPitchStandard, <ConcertPitchStandard as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for ConcertPitchStandard
impl Hash for ConcertPitchStandard
§impl Ord for ConcertPitchStandard
impl Ord for ConcertPitchStandard
§fn cmp(&self, other: &ConcertPitchStandard) -> Ordering
fn cmp(&self, other: &ConcertPitchStandard) -> Ordering
1.21.0 · Source§fn 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
§impl PartialEq for ConcertPitchStandard
impl PartialEq for ConcertPitchStandard
§impl PartialOrd for ConcertPitchStandard
impl PartialOrd for ConcertPitchStandard
impl Copy for ConcertPitchStandard
impl Eq for ConcertPitchStandard
impl StructuralPartialEq for ConcertPitchStandard
Auto Trait Implementations§
impl Freeze for ConcertPitchStandard
impl RefUnwindSafe for ConcertPitchStandard
impl Send for ConcertPitchStandard
impl Sync for ConcertPitchStandard
impl Unpin for ConcertPitchStandard
impl UnsafeUnpin for ConcertPitchStandard
impl UnwindSafe for ConcertPitchStandard
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