pub struct EnsembleOutputParameters {
pub vol: u8,
pub headphone_vols: [u8; 2],
pub levels: [OutputNominalLevel; 8],
pub opt_iface_mode: OptIfaceMode,
}
Expand description
Parameters of analog/digital outputs.
Fields§
§vol: u8
The volume of 1st pair of analog outputs.
headphone_vols: [u8; 2]
The volume of headphone outputs.
levels: [OutputNominalLevel; 8]
The nominal level of outputs.
opt_iface_mode: OptIfaceMode
The mode of optical outputs.
Trait Implementations§
Source§impl Clone for EnsembleOutputParameters
impl Clone for EnsembleOutputParameters
Source§fn clone(&self) -> EnsembleOutputParameters
fn clone(&self) -> EnsembleOutputParameters
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EnsembleOutputParameters
impl Debug for EnsembleOutputParameters
Source§impl Default for EnsembleOutputParameters
impl Default for EnsembleOutputParameters
Source§fn default() -> EnsembleOutputParameters
fn default() -> EnsembleOutputParameters
Returns the “default value” for a type. Read more
Source§impl EnsembleParametersConverter<EnsembleOutputParameters> for EnsembleOutputProtocol
impl EnsembleParametersConverter<EnsembleOutputParameters> for EnsembleOutputProtocol
Source§fn parse_cmds(params: &mut EnsembleOutputParameters, cmds: &[EnsembleCmd])
fn parse_cmds(params: &mut EnsembleOutputParameters, cmds: &[EnsembleCmd])
Parse the given vector of commands for parameters.
Source§fn build_cmds(params: &EnsembleOutputParameters) -> Vec<EnsembleCmd>
fn build_cmds(params: &EnsembleOutputParameters) -> Vec<EnsembleCmd>
Build vector of commands by the given parameters.
Source§impl From<&EnsembleOutputParameters> for Vec<EnsembleCmd>
impl From<&EnsembleOutputParameters> for Vec<EnsembleCmd>
Source§fn from(params: &EnsembleOutputParameters) -> Self
fn from(params: &EnsembleOutputParameters) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EnsembleOutputParameters
impl PartialEq for EnsembleOutputParameters
Source§fn eq(&self, other: &EnsembleOutputParameters) -> bool
fn eq(&self, other: &EnsembleOutputParameters) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for EnsembleOutputParameters
impl Eq for EnsembleOutputParameters
impl StructuralPartialEq for EnsembleOutputParameters
Auto Trait Implementations§
impl Freeze for EnsembleOutputParameters
impl RefUnwindSafe for EnsembleOutputParameters
impl Send for EnsembleOutputParameters
impl Sync for EnsembleOutputParameters
impl Unpin for EnsembleOutputParameters
impl UnwindSafe for EnsembleOutputParameters
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