#[repr(transparent)]pub struct GSharpNote<const N: isize = 8>;Implementations§
Source§impl<const N: isize> GSharpNote<N>
impl<const N: isize> GSharpNote<N>
pub const C_MAJOR_ID: usize = 8usize
pub const fn new() -> Self
Source§impl GSharpNote<8>
impl GSharpNote<8>
Trait Implementations§
Source§impl<const N: isize> Clone for GSharpNote<N>
impl<const N: isize> Clone for GSharpNote<N>
Source§fn clone(&self) -> GSharpNote<N>
fn clone(&self) -> GSharpNote<N>
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 moreSource§impl<const N: isize> Debug for GSharpNote<N>
impl<const N: isize> Debug for GSharpNote<N>
Source§impl<const N: isize> Default for GSharpNote<N>
impl<const N: isize> Default for GSharpNote<N>
Source§fn default() -> GSharpNote<N>
fn default() -> GSharpNote<N>
Returns the “default value” for a type. Read more
Source§impl<const N: isize> Deref for GSharpNote<N>
impl<const N: isize> Deref for GSharpNote<N>
Source§impl<const N: isize> Display for GSharpNote<N>
impl<const N: isize> Display for GSharpNote<N>
Source§impl<const N: isize> FromStr for GSharpNote<N>
impl<const N: isize> FromStr for GSharpNote<N>
Source§impl<const N: isize> Hash for GSharpNote<N>
impl<const N: isize> Hash for GSharpNote<N>
Source§impl<const N: isize> Ord for GSharpNote<N>
impl<const N: isize> Ord for GSharpNote<N>
Source§fn cmp(&self, other: &GSharpNote<N>) -> Ordering
fn cmp(&self, other: &GSharpNote<N>) -> 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
Source§impl<const N: isize> PartialEq for GSharpNote<N>
impl<const N: isize> PartialEq for GSharpNote<N>
Source§impl<const N: isize> PartialOrd<GSharpNote<N>> for isize
impl<const N: isize> PartialOrd<GSharpNote<N>> for isize
Source§impl<const N: isize> PartialOrd<isize> for GSharpNote<N>
impl<const N: isize> PartialOrd<isize> for GSharpNote<N>
Source§impl<const N: isize> PartialOrd for GSharpNote<N>
impl<const N: isize> PartialOrd for GSharpNote<N>
Source§impl<const N: isize> PitchClassRepr for GSharpNote<N>
impl<const N: isize> PitchClassRepr for GSharpNote<N>
Source§impl<const N: isize> RawPitchClass for GSharpNote<N>
impl<const N: isize> RawPitchClass for GSharpNote<N>
impl<const N: isize> Copy for GSharpNote<N>
impl<const N: isize> Eq for GSharpNote<N>
impl<const N: isize> StructuralPartialEq for GSharpNote<N>
Auto Trait Implementations§
impl<const N: isize> Freeze for GSharpNote<N>
impl<const N: isize> RefUnwindSafe for GSharpNote<N>
impl<const N: isize> Send for GSharpNote<N>
impl<const N: isize> Sync for GSharpNote<N>
impl<const N: isize> Unpin for GSharpNote<N>
impl<const N: isize> UnwindSafe for GSharpNote<N>
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