pub struct Channel(/* private fields */);
Expand description
Represents the MIDI channel. The minimum value is 0
, the maximum value is 15
. This type
will clamp values to the valid range.
Implementations§
Trait Implementations§
source§impl Ord for Channel
impl Ord for Channel
source§impl PartialEq for Channel
impl PartialEq for Channel
source§impl PartialOrd for Channel
impl PartialOrd for Channel
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Channel
impl Eq for Channel
impl StructuralEq for Channel
impl StructuralPartialEq for Channel
Auto Trait Implementations§
impl RefUnwindSafe for Channel
impl Send for Channel
impl Sync for Channel
impl Unpin for Channel
impl UnwindSafe for Channel
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