Struct redact_composer_midi::Program
source · pub struct Program(pub u8);Expand description
A program number (instrument) that should play during a
Part.
Tuple Fields§
§0: u8Trait Implementations§
source§impl Element for Program
impl Element for Program
source§fn wrapped_element(&self) -> Option<&(dyn Element + 'static)>
fn wrapped_element(&self) -> Option<&(dyn Element + 'static)>
None.
source§impl From<Instrument> for Program
impl From<Instrument> for Program
source§fn from(value: Instrument) -> Program
fn from(value: Instrument) -> Program
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Program
impl Send for Program
impl Sync for Program
impl Unpin for Program
impl UnwindSafe for Program
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