pub struct Program(pub u8);
Expand description
A program number (instrument) that should play during a Part
.
Tuple Fields§
§0: u8
Trait 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 Freeze for Program
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