#[repr(C)]pub struct RawMidiInput {
pub timestamp_lo: u32,
pub timestamp_hi: u32,
pub device_id: u32,
pub len: u32,
pub data: [u8; 8],
}
Fields§
§timestamp_lo: u32
§timestamp_hi: u32
§device_id: u32
§len: u32
§data: [u8; 8]
Implementations§
Trait Implementations§
Source§impl CheckedBitPattern for RawMidiInput
impl CheckedBitPattern for RawMidiInput
Source§type Bits = RawMidiInputBits
type Bits = RawMidiInputBits
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.Source§fn is_valid_bit_pattern(bits: &RawMidiInputBits) -> bool
fn is_valid_bit_pattern(bits: &RawMidiInputBits) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.Source§impl Clone for RawMidiInput
impl Clone for RawMidiInput
Source§fn clone(&self) -> RawMidiInput
fn clone(&self) -> RawMidiInput
Returns a duplicate 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 moreSource§impl Debug for RawMidiInput
impl Debug for RawMidiInput
Source§impl PartialEq for RawMidiInput
impl PartialEq for RawMidiInput
impl Copy for RawMidiInput
impl Eq for RawMidiInput
impl NoUninit for RawMidiInput
impl StructuralPartialEq for RawMidiInput
Auto Trait Implementations§
impl Freeze for RawMidiInput
impl RefUnwindSafe for RawMidiInput
impl Send for RawMidiInput
impl Sync for RawMidiInput
impl Unpin for RawMidiInput
impl UnwindSafe for RawMidiInput
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