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
sourceimpl Clone for IdentityReply
impl Clone for IdentityReply
sourcefn clone(&self) -> IdentityReply
fn clone(&self) -> IdentityReply
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for IdentityReply
impl Debug for IdentityReply
sourceimpl PartialEq<IdentityReply> for IdentityReply
impl PartialEq<IdentityReply> for IdentityReply
sourcefn eq(&self, other: &IdentityReply) -> bool
fn eq(&self, other: &IdentityReply) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more