pub struct MonitorDef {
pub component: String,
pub property: String,
pub label: String,
pub meter_type: MeterType,
}Expand description
Monitor definition for real-time metering visualization.
Specifies which circuit nodes/components to tap for VU meters and visualizations.
§Syntax
monitors {
V1.plate_current -> "Tube 1" [vu]
output -> "Output Level" [ppm]
GR.reduction -> "Gain Reduction" [gr]
}Fields§
§component: StringComponent to monitor (e.g., “V1”, “input”, “output”, “GR”)
property: StringProperty to monitor (e.g., “plate_current”, “level”, “reduction”)
label: StringDisplay label for the meter
meter_type: MeterTypeMeter type (VU, PPM, peak, gain reduction)
Trait Implementations§
Source§impl Clone for MonitorDef
impl Clone for MonitorDef
Source§fn clone(&self) -> MonitorDef
fn clone(&self) -> MonitorDef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MonitorDef
impl Debug for MonitorDef
Source§impl PartialEq for MonitorDef
impl PartialEq for MonitorDef
Source§fn eq(&self, other: &MonitorDef) -> bool
fn eq(&self, other: &MonitorDef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MonitorDef
Auto Trait Implementations§
impl Freeze for MonitorDef
impl RefUnwindSafe for MonitorDef
impl Send for MonitorDef
impl Sync for MonitorDef
impl Unpin for MonitorDef
impl UnsafeUnpin for MonitorDef
impl UnwindSafe for MonitorDef
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