Enum ChordVoicingKind
pub enum ChordVoicingKind {
Closed,
Open,
Drop2,
Drop3,
Quartal,
Cluster,
Shell,
Custom,
}Variants§
Implementations§
§impl ChordVoicingKind
impl ChordVoicingKind
pub const ALL: &'static [ChordVoicingKind]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for ChordVoicingKind
impl Clone for ChordVoicingKind
§fn clone(&self) -> ChordVoicingKind
fn clone(&self) -> ChordVoicingKind
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 ChordVoicingKind
impl Debug for ChordVoicingKind
§impl Display for ChordVoicingKind
impl Display for ChordVoicingKind
§impl FromStr for ChordVoicingKind
impl FromStr for ChordVoicingKind
§type Err = ChordError
type Err = ChordError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<ChordVoicingKind, <ChordVoicingKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<ChordVoicingKind, <ChordVoicingKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for ChordVoicingKind
impl Hash for ChordVoicingKind
§impl Ord for ChordVoicingKind
impl Ord for ChordVoicingKind
§fn cmp(&self, other: &ChordVoicingKind) -> Ordering
fn cmp(&self, other: &ChordVoicingKind) -> 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 ChordVoicingKind
impl PartialEq for ChordVoicingKind
§impl PartialOrd for ChordVoicingKind
impl PartialOrd for ChordVoicingKind
impl Copy for ChordVoicingKind
impl Eq for ChordVoicingKind
impl StructuralPartialEq for ChordVoicingKind
Auto Trait Implementations§
impl Freeze for ChordVoicingKind
impl RefUnwindSafe for ChordVoicingKind
impl Send for ChordVoicingKind
impl Sync for ChordVoicingKind
impl Unpin for ChordVoicingKind
impl UnsafeUnpin for ChordVoicingKind
impl UnwindSafe for ChordVoicingKind
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