pub struct InstrumentRange {
pub lowest: u8,
pub highest: u8,
}Expand description
Inclusive MIDI note-number range declared by an instrument definition.
Fields§
§lowest: u8§highest: u8Trait Implementations§
Source§impl Clone for InstrumentRange
impl Clone for InstrumentRange
impl Copy for InstrumentRange
Source§impl Debug for InstrumentRange
impl Debug for InstrumentRange
Source§impl<'de> Deserialize<'de> for InstrumentRange
impl<'de> Deserialize<'de> for InstrumentRange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for InstrumentRange
Source§impl PartialEq for InstrumentRange
impl PartialEq for InstrumentRange
Source§impl Serialize for InstrumentRange
impl Serialize for InstrumentRange
impl StructuralPartialEq for InstrumentRange
Auto Trait Implementations§
impl Freeze for InstrumentRange
impl RefUnwindSafe for InstrumentRange
impl Send for InstrumentRange
impl Sync for InstrumentRange
impl Unpin for InstrumentRange
impl UnsafeUnpin for InstrumentRange
impl UnwindSafe for InstrumentRange
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