Enum rytm_rs::AnySysexType
source · pub enum AnySysexType {
Known(SysexType),
Unknown(u8),
}
Expand description
Meta type for sysex messages.
Can represent known and unknown sysex types.
Variants§
Trait Implementations§
source§impl Clone for AnySysexType
impl Clone for AnySysexType
source§fn clone(&self) -> AnySysexType
fn clone(&self) -> AnySysexType
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 AnySysexType
impl Debug for AnySysexType
source§impl<'de> Deserialize<'de> for AnySysexType
impl<'de> Deserialize<'de> for AnySysexType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<AnySysexType> for u8
impl From<AnySysexType> for u8
source§fn from(t: AnySysexType) -> Self
fn from(t: AnySysexType) -> Self
Converts to this type from the input type.
source§impl From<SysexType> for AnySysexType
impl From<SysexType> for AnySysexType
source§impl From<u8> for AnySysexType
impl From<u8> for AnySysexType
source§impl Hash for AnySysexType
impl Hash for AnySysexType
source§impl PartialEq for AnySysexType
impl PartialEq for AnySysexType
source§fn eq(&self, other: &AnySysexType) -> bool
fn eq(&self, other: &AnySysexType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AnySysexType
impl Serialize for AnySysexType
impl Copy for AnySysexType
impl Eq for AnySysexType
impl StructuralEq for AnySysexType
impl StructuralPartialEq for AnySysexType
Auto Trait Implementations§
impl RefUnwindSafe for AnySysexType
impl Send for AnySysexType
impl Sync for AnySysexType
impl Unpin for AnySysexType
impl UnwindSafe for AnySysexType
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