pub struct Step {
pub note: Note,
pub velocity: u8,
pub instrument: u8,
pub fx1: FX,
pub fx2: FX,
pub fx3: FX,
}
Fields§
§note: Note
§velocity: u8
§instrument: u8
§fx1: FX
§fx2: FX
§fx3: FX
Implementations§
Source§impl Step
impl Step
pub const V4_SIZE: usize = 9usize
pub fn print( &self, row: u8, fx_cmds: FxCommands, cmd_pack: CommandPack, ) -> String
pub fn clear(&mut self)
pub fn is_empty(&self) -> bool
pub fn map_instr(&self, mapping: &InstrumentMapping) -> Step
pub fn write(&self, w: &mut Writer)
Trait Implementations§
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnwindSafe for Step
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