pub struct EnsembleDisplayParameters {
pub enabled: bool,
pub illuminate: bool,
pub target: DisplayMeterTarget,
pub overhold: bool,
}
Expand description
Parameters of display meters.
Fields§
§enabled: bool
Whether to enable/disable display.
illuminate: bool
Force to illuminate display.
target: DisplayMeterTarget
The target for meter display.
overhold: bool
Whether to enable/disable overhold of peak detection.
Trait Implementations§
Source§impl Clone for EnsembleDisplayParameters
impl Clone for EnsembleDisplayParameters
Source§fn clone(&self) -> EnsembleDisplayParameters
fn clone(&self) -> EnsembleDisplayParameters
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 EnsembleDisplayParameters
impl Debug for EnsembleDisplayParameters
Source§impl Default for EnsembleDisplayParameters
impl Default for EnsembleDisplayParameters
Source§fn default() -> EnsembleDisplayParameters
fn default() -> EnsembleDisplayParameters
Returns the “default value” for a type. Read more
Source§impl EnsembleParametersConverter<EnsembleDisplayParameters> for EnsembleDisplayProtocol
impl EnsembleParametersConverter<EnsembleDisplayParameters> for EnsembleDisplayProtocol
Source§fn parse_cmds(params: &mut EnsembleDisplayParameters, cmds: &[EnsembleCmd])
fn parse_cmds(params: &mut EnsembleDisplayParameters, cmds: &[EnsembleCmd])
Parse the given vector of commands for parameters.
Source§fn build_cmds(params: &EnsembleDisplayParameters) -> Vec<EnsembleCmd>
fn build_cmds(params: &EnsembleDisplayParameters) -> Vec<EnsembleCmd>
Build vector of commands by the given parameters.
Source§impl From<&EnsembleDisplayParameters> for Vec<EnsembleCmd>
impl From<&EnsembleDisplayParameters> for Vec<EnsembleCmd>
Source§fn from(params: &EnsembleDisplayParameters) -> Self
fn from(params: &EnsembleDisplayParameters) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EnsembleDisplayParameters
impl PartialEq for EnsembleDisplayParameters
Source§fn eq(&self, other: &EnsembleDisplayParameters) -> bool
fn eq(&self, other: &EnsembleDisplayParameters) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for EnsembleDisplayParameters
impl Eq for EnsembleDisplayParameters
impl StructuralPartialEq for EnsembleDisplayParameters
Auto Trait Implementations§
impl Freeze for EnsembleDisplayParameters
impl RefUnwindSafe for EnsembleDisplayParameters
impl Send for EnsembleDisplayParameters
impl Sync for EnsembleDisplayParameters
impl Unpin for EnsembleDisplayParameters
impl UnwindSafe for EnsembleDisplayParameters
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