pub struct SectionDef {
pub muted: bool,
pub name: String,
pub cycles: u32,
}Expand description
An instrument section (§8.2): a named block of a stated length in cycles.
Fields§
§muted: boolA muted section still takes its time in the arrangement — it is a rest of its own length, not a removal from it.
name: String§cycles: u32How many cycles the section lasts. Always >= 1.
Trait Implementations§
Source§impl Clone for SectionDef
impl Clone for SectionDef
Source§impl Debug for SectionDef
impl Debug for SectionDef
impl Eq for SectionDef
Source§impl PartialEq for SectionDef
impl PartialEq for SectionDef
impl StructuralPartialEq for SectionDef
Auto Trait Implementations§
impl Freeze for SectionDef
impl RefUnwindSafe for SectionDef
impl Send for SectionDef
impl Sync for SectionDef
impl Unpin for SectionDef
impl UnsafeUnpin for SectionDef
impl UnwindSafe for SectionDef
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