pub struct OplPatch {
pub modulator: OplOperator,
pub carrier: OplOperator,
pub feedback: u8,
}Expand description
A two-operator instrument, including channel feedback and connection mode.
Fields§
§modulator: OplOperatorFirst operator, used as a modulator in FM connection mode.
carrier: OplOperatorSecond operator, used as the carrier in FM connection mode.
feedback: u8Feedback and connection bits, the low four bits of register C0h.
Implementations§
Trait Implementations§
impl Copy for OplPatch
impl Eq for OplPatch
Source§impl From<OplPatch> for OplInstrument
impl From<OplPatch> for OplInstrument
impl StructuralPartialEq for OplPatch
Auto Trait Implementations§
impl Forget for OplPatch
impl Freeze for OplPatch
impl RefUnwindSafe for OplPatch
impl Send for OplPatch
impl Sync for OplPatch
impl Unpin for OplPatch
impl UnsafeUnpin for OplPatch
impl UnwindSafe for OplPatch
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