pub struct Program(/* private fields */);Expand description
Identifies an instrument
TODO docs
Implementations§
Source§impl Program
impl Program
Sourcepub fn new<B>(rep: B) -> Result<Self, ParseError>
pub fn new<B>(rep: B) -> Result<Self, ParseError>
Creates a new program command.
Sourcepub const fn new_unchecked(byte: u8) -> Self
pub const fn new_unchecked(byte: u8) -> Self
Creates a new program command.
Does not check that the byte is valid!
Trait Implementations§
Source§impl Ord for Program
impl Ord for Program
Source§impl PartialOrd for Program
impl PartialOrd for Program
impl Copy for Program
impl Eq for Program
impl StructuralPartialEq for Program
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