pub struct TravelerMicInputState {
pub gain: [u8; 4],
pub pad: [bool; 4],
}Expand description
State of inputs in Traveler.
Fields§
§gain: [u8; 4]The gain of microphone input. The value is between 0x00 and 0x35.
pad: [bool; 4]Whether to pad microphone input.
Trait Implementations§
Source§impl Clone for TravelerMicInputState
impl Clone for TravelerMicInputState
Source§fn clone(&self) -> TravelerMicInputState
fn clone(&self) -> TravelerMicInputState
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 TravelerMicInputState
impl Debug for TravelerMicInputState
Source§impl Default for TravelerMicInputState
impl Default for TravelerMicInputState
Source§fn default() -> TravelerMicInputState
fn default() -> TravelerMicInputState
Returns the “default value” for a type. Read more
Source§impl MotuWhollyCacheableParamsOperation<TravelerMicInputState> for TravelerProtocol
impl MotuWhollyCacheableParamsOperation<TravelerMicInputState> for TravelerProtocol
Source§fn cache_wholly(
req: &mut FwReq,
node: &mut FwNode,
params: &mut TravelerMicInputState,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut TravelerMicInputState, timeout_ms: u32, ) -> Result<(), Error>
Cache whole parameters.
Source§impl MotuWhollyUpdatableParamsOperation<TravelerMicInputState> for TravelerProtocol
impl MotuWhollyUpdatableParamsOperation<TravelerMicInputState> for TravelerProtocol
Source§fn update_wholly(
req: &mut FwReq,
node: &mut FwNode,
params: &TravelerMicInputState,
timeout_ms: u32,
) -> Result<(), Error>
fn update_wholly( req: &mut FwReq, node: &mut FwNode, params: &TravelerMicInputState, timeout_ms: u32, ) -> Result<(), Error>
Update whole parameters.
Source§impl PartialEq for TravelerMicInputState
impl PartialEq for TravelerMicInputState
impl Copy for TravelerMicInputState
impl Eq for TravelerMicInputState
impl StructuralPartialEq for TravelerMicInputState
Auto Trait Implementations§
impl Freeze for TravelerMicInputState
impl RefUnwindSafe for TravelerMicInputState
impl Send for TravelerMicInputState
impl Sync for TravelerMicInputState
impl Unpin for TravelerMicInputState
impl UnwindSafe for TravelerMicInputState
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