Enum metrix::instruments::ValueScaling [−][src]
pub enum ValueScaling { NanosToMillis, NanosToMicros, }
Scales incoming values.
This can be used either with a Cockpit
or with a Panel
. Be careful when using on both
since both components do not care whether the
other already scaled a value.
Variants
NanosToMillis
Consider incoming values nanos and make them millis
NanosToMicros
Consider incoming values nanos and make them micros
Trait Implementations
impl Debug for ValueScaling
[src]
impl Debug for ValueScaling
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ValueScaling
[src]
impl Clone for ValueScaling
fn clone(&self) -> ValueScaling
[src]
fn clone(&self) -> ValueScaling
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for ValueScaling
[src]
impl Copy for ValueScaling
Auto Trait Implementations
impl Send for ValueScaling
impl Send for ValueScaling
impl Sync for ValueScaling
impl Sync for ValueScaling