Struct windows::Devices::Midi::MidiMessageType
#[repr(transparent)]pub struct MidiMessageType(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl MidiMessageType
impl MidiMessageType
pub const None: Self = _
pub const NoteOff: Self = _
pub const NoteOn: Self = _
pub const PolyphonicKeyPressure: Self = _
pub const ControlChange: Self = _
pub const ProgramChange: Self = _
pub const ChannelPressure: Self = _
pub const PitchBendChange: Self = _
pub const SystemExclusive: Self = _
pub const MidiTimeCode: Self = _
pub const SongPositionPointer: Self = _
pub const SongSelect: Self = _
pub const TuneRequest: Self = _
pub const EndSystemExclusive: Self = _
pub const TimingClock: Self = _
pub const Start: Self = _
pub const Continue: Self = _
pub const Stop: Self = _
pub const ActiveSensing: Self = _
pub const SystemReset: Self = _
Trait Implementations§
§impl Clone for MidiMessageType
impl Clone for MidiMessageType
§fn clone(&self) -> MidiMessageType
fn clone(&self) -> MidiMessageType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for MidiMessageType
impl Debug for MidiMessageType
§impl Default for MidiMessageType
impl Default for MidiMessageType
§fn default() -> MidiMessageType
fn default() -> MidiMessageType
Returns the “default value” for a type. Read more
§impl PartialEq for MidiMessageType
impl PartialEq for MidiMessageType
§fn eq(&self, other: &MidiMessageType) -> bool
fn eq(&self, other: &MidiMessageType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MidiMessageType
impl Eq for MidiMessageType
impl StructuralPartialEq for MidiMessageType
Auto Trait Implementations§
impl Freeze for MidiMessageType
impl RefUnwindSafe for MidiMessageType
impl Send for MidiMessageType
impl Sync for MidiMessageType
impl Unpin for MidiMessageType
impl UnwindSafe for MidiMessageType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)