[][src]Enum tonal::Name

#[repr(i32)]pub enum Name {
    A,
    AS,
    B,
    C,
    CS,
    D,
    DS,
    E,
    F,
    FS,
    G,
    GS,
}

Represents the alphabetic name of a pitch.

The 'S' means 'Sharp'.

Variants

A

A.

AS

A sharp / B flat.

B

B.

C

C.

CS

C sharp / D flat.

D

D.

DS

D sharp / E flat.

E

E.

F

F.

FS

F sharp / G flat.

G

G.

GS

G sharp / A flat.

Trait Implementations

impl Clone for Name[src]

impl Copy for Name[src]

Auto Trait Implementations

impl RefUnwindSafe for Name

impl Send for Name

impl Sync for Name

impl Unpin for Name

impl UnwindSafe for Name

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.