[][src]Trait plotters::prelude::LogScalable

pub trait LogScalable: Clone {
    fn as_f64(&self) -> f64;
fn from_f64(f: f64) -> Self; }

The trait for the type that is able to be presented in the log scale

Required methods

fn as_f64(&self) -> f64

Make the conversion from the type to the floating point number

fn from_f64(f: f64) -> Self

Convert a floating point number to the scale

Loading content...

Implementations on Foreign Types

impl LogScalable for u8[src]

impl LogScalable for u16[src]

impl LogScalable for u32[src]

impl LogScalable for u64[src]

impl LogScalable for f32[src]

impl LogScalable for f64[src]

Loading content...

Implementors

Loading content...