pub enum EncoderMode {
Plugin,
Mixer,
Sends,
Transport,
Custom1,
Custom2,
Custom3,
Custom4,
}Variants§
Plugin
Controls plugin parameters.
Mixer
Adjusts mixer levels, such as volume and pan.
Sends
Controls send levels for effects and routing.
Transport
Handles transport functions like playback control.
Custom1
User-defined encoder mappings for custom controls (slot 1).
Custom2
User-defined encoder mappings for custom controls (slot 2).
Custom3
User-defined encoder mappings for custom controls (slot 3).
Custom4
User-defined encoder mappings for custom controls (slot 4).
Implementations§
Source§impl EncoderMode
impl EncoderMode
pub fn to_value(&self) -> u8
pub fn from_value(value: u8) -> Option<EncoderMode>
Trait Implementations§
Source§impl Clone for EncoderMode
impl Clone for EncoderMode
Source§fn clone(&self) -> EncoderMode
fn clone(&self) -> EncoderMode
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 moreAuto Trait Implementations§
impl Freeze for EncoderMode
impl RefUnwindSafe for EncoderMode
impl Send for EncoderMode
impl Sync for EncoderMode
impl Unpin for EncoderMode
impl UnwindSafe for EncoderMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more