pub enum MidiOutMode {
None,
Local,
MidiThru {
sources: MidiIn,
},
MidiMerge {
sources: MidiIn,
},
}Expand description
Persisted in GlobalConfig via CBOR (inside MidiOutConfig). New variants
may be appended with the next free #[n(N)] tag without a migration.
Removing a variant requires a one-shot FRAM migration (see
storage::migrate_fram).
Variants§
Trait Implementations§
Source§impl Clone for MidiOutMode
impl Clone for MidiOutMode
Source§fn clone(&self) -> MidiOutMode
fn clone(&self) -> MidiOutMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MidiOutMode
Source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for MidiOutMode
impl<'bytes, Ctx> Decode<'bytes, Ctx> for MidiOutMode
Source§impl Default for MidiOutMode
impl Default for MidiOutMode
Source§fn default() -> MidiOutMode
fn default() -> MidiOutMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MidiOutMode
impl<'de> Deserialize<'de> for MidiOutMode
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<Ctx> Encode<Ctx> for MidiOutMode
impl<Ctx> Encode<Ctx> for MidiOutMode
Source§impl PartialEq for MidiOutMode
impl PartialEq for MidiOutMode
Source§impl Serialize for MidiOutMode
impl Serialize for MidiOutMode
impl StructuralPartialEq for MidiOutMode
Auto Trait Implementations§
impl Freeze for MidiOutMode
impl RefUnwindSafe for MidiOutMode
impl Send for MidiOutMode
impl Sync for MidiOutMode
impl Unpin for MidiOutMode
impl UnsafeUnpin for MidiOutMode
impl UnwindSafe for MidiOutMode
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