Struct midi_msg::GlobalParameter
source · pub struct GlobalParameter {
pub id: Vec<u8>,
pub value: Vec<u8>,
}
Expand description
An id
:value
pair that must line up with the GlobalParameterControl
that it is placed in.
Fields§
§id: Vec<u8>
§value: Vec<u8>
Trait Implementations§
source§impl Clone for GlobalParameter
impl Clone for GlobalParameter
source§fn clone(&self) -> GlobalParameter
fn clone(&self) -> GlobalParameter
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 GlobalParameter
impl Debug for GlobalParameter
source§impl PartialEq for GlobalParameter
impl PartialEq for GlobalParameter
source§fn eq(&self, other: &GlobalParameter) -> bool
fn eq(&self, other: &GlobalParameter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GlobalParameter
impl StructuralPartialEq for GlobalParameter
Auto Trait Implementations§
impl Freeze for GlobalParameter
impl RefUnwindSafe for GlobalParameter
impl Send for GlobalParameter
impl Sync for GlobalParameter
impl Unpin for GlobalParameter
impl UnwindSafe for GlobalParameter
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