pub struct Mbox3SpecificParams {
Show 15 fields pub standalone_use_case: StandaloneUseCase, pub master_knob_value: u8, pub master_knob_assigns: [bool; 6], pub mute_led: MuteLedState, pub mono_led: MonoLedState, pub spkr_led: SpkrLedState, pub dim_led: bool, pub duration_hold: u8, pub phantom_powering: bool, pub hpf_enables: [bool; 4], pub output_trims: [u8; 6], pub reverb_type: ReverbType, pub reverb_volume: u8, pub reverb_duration: u8, pub reverb_feedback: u8,
}
Expand description

Parameters specific to Mbox 3 pro.

Fields§

§standalone_use_case: StandaloneUseCase

Usecase at standalone mode.

§master_knob_value: u8

State of master knob.

§master_knob_assigns: [bool; 6]

Assignment map for master knob.

§mute_led: MuteLedState

State of mute LED.

§mono_led: MonoLedState

State of mono LED.

§spkr_led: SpkrLedState

State of spkr LED.

§dim_led: bool

Whether to use dim LED.

§duration_hold: u8

Duration till being activate by holding button.

§phantom_powering: bool

Whether to supply phantom powering.

§hpf_enables: [bool; 4]

Whether to enable High Pass Filter.

§output_trims: [u8; 6]

Volume of analog outputs.

§reverb_type: ReverbType

The type of reverb.

§reverb_volume: u8

Volume of reverb return.

§reverb_duration: u8

Duration of reverb.

§reverb_feedback: u8

Feedback of reverb.

Trait Implementations§

source§

impl Clone for Mbox3SpecificParams

source§

fn clone(&self) -> Mbox3SpecificParams

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Mbox3SpecificParams

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Mbox3SpecificParams

source§

fn default() -> Mbox3SpecificParams

Returns the “default value” for a type. Read more
source§

impl PartialEq for Mbox3SpecificParams

source§

fn eq(&self, other: &Mbox3SpecificParams) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl TcatExtensionSectionNotifiedParamsOperation<Mbox3SpecificParams> for Mbox3Protocol

source§

fn cache_extension_notified_params( req: &FwReq, node: &FwNode, sections: &ExtensionSections, caps: &ExtensionCaps, params: &mut Mbox3SpecificParams, msg: u32, timeout_ms: u32 ) -> Result<(), Error>

Cache state of hardware for notified parameters.
source§

impl TcatExtensionSectionParamsOperation<Mbox3SpecificParams> for Mbox3Protocol

source§

fn cache_extension_whole_params( req: &FwReq, node: &FwNode, sections: &ExtensionSections, _: &ExtensionCaps, params: &mut Mbox3SpecificParams, timeout_ms: u32 ) -> Result<(), Error>

Cache state of hardware for whole parameters.
source§

impl TcatExtensionSectionPartialMutableParamsOperation<Mbox3SpecificParams> for Mbox3Protocol

source§

fn update_extension_partial_params( req: &FwReq, node: &FwNode, sections: &ExtensionSections, _: &ExtensionCaps, params: &Mbox3SpecificParams, prev: &mut Mbox3SpecificParams, timeout_ms: u32 ) -> Result<(), Error>

Update state of hardware for partial parameters.
source§

impl Copy for Mbox3SpecificParams

source§

impl Eq for Mbox3SpecificParams

source§

impl StructuralEq for Mbox3SpecificParams

source§

impl StructuralPartialEq for Mbox3SpecificParams

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.