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
impl Clone for Mbox3SpecificParams
Source§fn clone(&self) -> Mbox3SpecificParams
fn clone(&self) -> Mbox3SpecificParams
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 Mbox3SpecificParams
impl Debug for Mbox3SpecificParams
Source§impl Default for Mbox3SpecificParams
impl Default for Mbox3SpecificParams
Source§fn default() -> Mbox3SpecificParams
fn default() -> Mbox3SpecificParams
Returns the “default value” for a type. Read more
Source§impl PartialEq for Mbox3SpecificParams
impl PartialEq for Mbox3SpecificParams
Source§impl TcatExtensionSectionNotifiedParamsOperation<Mbox3SpecificParams> for Mbox3Protocol
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>
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
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>
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
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>
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.
impl Copy for Mbox3SpecificParams
impl Eq for Mbox3SpecificParams
impl StructuralPartialEq for Mbox3SpecificParams
Auto Trait Implementations§
impl Freeze for Mbox3SpecificParams
impl RefUnwindSafe for Mbox3SpecificParams
impl Send for Mbox3SpecificParams
impl Sync for Mbox3SpecificParams
impl Unpin for Mbox3SpecificParams
impl UnwindSafe for Mbox3SpecificParams
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