pub struct IntMatrix {
pub degree_row: [i32; 3],
pub octave_row: [i32; 3],
pub divisor: i32,
}Expand description
Integer 2x3 affine matrix mapping (degree, octave, 1) to a new pitch.
Fields§
§degree_row: [i32; 3]Coefficients producing the target scale degree.
octave_row: [i32; 3]Coefficients producing the target octave.
divisor: i32Shared divisor applied to both rows’ results.
Implementations§
Trait Implementations§
impl Eq for IntMatrix
impl StructuralPartialEq for IntMatrix
Auto Trait Implementations§
impl Freeze for IntMatrix
impl RefUnwindSafe for IntMatrix
impl Send for IntMatrix
impl Sync for IntMatrix
impl Unpin for IntMatrix
impl UnsafeUnpin for IntMatrix
impl UnwindSafe for IntMatrix
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