pub struct Signature {
pub beats: u8,
pub beat_value: BeatValue,
}
Expand description
A time signature. Used by TimeSignature
.
Fields§
§beats: u8
Number of beats in a bar.
beat_value: BeatValue
The note value for each beat.
Trait Implementations§
source§impl PartialEq for Signature
impl PartialEq for Signature
impl Copy for Signature
impl Eq for Signature
impl StructuralPartialEq for Signature
Auto Trait Implementations§
impl Freeze for Signature
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnwindSafe for Signature
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