pub struct KeySignature {
pub key: i8,
pub is_minor: bool,
}Expand description
Key signature
Fields§
§key: i8§is_minor: boolImplementations§
Trait Implementations§
Source§impl Clone for KeySignature
impl Clone for KeySignature
Source§fn clone(&self) -> KeySignature
fn clone(&self) -> KeySignature
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 Debug for KeySignature
impl Debug for KeySignature
Source§impl Default for KeySignature
impl Default for KeySignature
Source§fn default() -> KeySignature
fn default() -> KeySignature
Returns the “default value” for a type. Read more
Source§impl PartialEq for KeySignature
impl PartialEq for KeySignature
impl StructuralPartialEq for KeySignature
Auto Trait Implementations§
impl Freeze for KeySignature
impl RefUnwindSafe for KeySignature
impl Send for KeySignature
impl Sync for KeySignature
impl Unpin for KeySignature
impl UnwindSafe for KeySignature
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