pub struct Note<A> { /* private fields */ }
Implementations§
Source§impl<A> Note<A>
impl<A> Note<A>
pub fn new(natural: Natural, accidental: AccidentalKind) -> Self
pub fn natural(self) -> Natural
pub fn natural_mut(&mut self) -> &mut Natural
pub fn accidental(self) -> AccidentalKind
pub fn accidental_mut(&mut self) -> &mut AccidentalKind
Trait Implementations§
Source§impl<A> Degree for Note<A>where
A: Accidental,
impl<A> Degree for Note<A>where
A: Accidental,
impl<A> Copy for Note<A>
impl<A: Eq> Eq for Note<A>
impl<A> StructuralPartialEq for Note<A>
Auto Trait Implementations§
impl<A> Freeze for Note<A>
impl<A> RefUnwindSafe for Note<A>where
A: RefUnwindSafe,
impl<A> Send for Note<A>where
A: Send,
impl<A> Sync for Note<A>where
A: Sync,
impl<A> Unpin for Note<A>where
A: Unpin,
impl<A> UnwindSafe for Note<A>where
A: UnwindSafe,
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