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 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 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§impl Serialize for AnySysexType
impl Serialize for AnySysexType
impl Copy for AnySysexType
impl Eq for AnySysexType
impl StructuralPartialEq for AnySysexType
Auto Trait Implementations§
impl Freeze for AnySysexType
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