pub struct LogCoord<V: LogScalable> { /* private fields */ }
Expand description
A log scaled coordinate axis
Trait Implementations
sourceimpl<V: LogScalable> From<LogRange<V>> for LogCoord<V>
impl<V: LogScalable> From<LogRange<V>> for LogCoord<V>
sourceimpl<V: LogScalable> Ranged for LogCoord<V>
impl<V: LogScalable> Ranged for LogCoord<V>
type FormatOption = DefaultFormatting
type FormatOption = DefaultFormatting
This marker decides if Plotters default ValueFormatter implementation should be used. This associated type can be one of the following two types: Read more
type ValueType = V
type ValueType = V
The type of this value in this range specification
sourcefn map(&self, value: &V, limit: (i32, i32)) -> i32
fn map(&self, value: &V, limit: (i32, i32)) -> i32
This function maps the value to i32, which is the drawing coordinate
sourcefn key_points<Hint: KeyPointHint>(&self, hint: Hint) -> Vec<Self::ValueType>
fn key_points<Hint: KeyPointHint>(&self, hint: Hint) -> Vec<Self::ValueType>
This function gives the key points that we can draw a grid based on this
Auto Trait Implementations
impl<V> RefUnwindSafe for LogCoord<V> where
V: RefUnwindSafe,
impl<V> Send for LogCoord<V> where
V: Send,
impl<V> Sync for LogCoord<V> where
V: Sync,
impl<V> Unpin for LogCoord<V> where
V: Unpin,
impl<V> UnwindSafe for LogCoord<V> where
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> AsRangedCoord for T where
T: Ranged,
impl<T> AsRangedCoord for T where
T: Ranged,
type CoordDescType = T
type CoordDescType = T
Type to describe a coordinate system
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more