Struct midi_msg::IdentityReply
source · pub struct IdentityReply {
pub id: ManufacturerID,
pub family: u16,
pub family_member: u16,
pub software_revision: (u8, u8, u8, u8),
}Expand description
A response to UniversalNonRealTimeMsg::IdentityRequest, meant to indicate the type of device
that this message is sent from.
Used by UniversalNonRealTimeMsg::IdentityReply.
Fields§
§id: ManufacturerID§family: u16§family_member: u16§software_revision: (u8, u8, u8, u8)Four values, 0-127, sent in order provided
Trait Implementations§
source§impl Clone for IdentityReply
impl Clone for IdentityReply
source§fn clone(&self) -> IdentityReply
fn clone(&self) -> IdentityReply
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 moresource§impl Debug for IdentityReply
impl Debug for IdentityReply
source§impl PartialEq for IdentityReply
impl PartialEq for IdentityReply
source§fn eq(&self, other: &IdentityReply) -> bool
fn eq(&self, other: &IdentityReply) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for IdentityReply
impl Eq for IdentityReply
impl StructuralEq for IdentityReply
impl StructuralPartialEq for IdentityReply
Auto Trait Implementations§
impl RefUnwindSafe for IdentityReply
impl Send for IdentityReply
impl Sync for IdentityReply
impl Unpin for IdentityReply
impl UnwindSafe for IdentityReply
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