pub struct LogCoord<V: LogScalable> { /* private fields */ }
Expand description
A log scaled coordinate axis
Trait Implementations§
Source§impl<V: LogScalable> Ranged for LogCoord<V>
impl<V: LogScalable> Ranged for LogCoord<V>
Source§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
Source§fn 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
Source§fn 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> Freeze for LogCoord<V>where
V: Freeze,
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§
Source§impl<T> AsRangedCoord for Twhere
T: Ranged,
impl<T> AsRangedCoord for Twhere
T: Ranged,
Source§impl<T> BindKeyPointMethod for Twhere
T: AsRangedCoord,
impl<T> BindKeyPointMethod for Twhere
T: AsRangedCoord,
Source§fn with_key_point_func<F: Fn(usize) -> Vec<Self::Value> + 'static>(
self,
func: F,
) -> WithKeyPointMethod<Self::CoordDescType>
fn with_key_point_func<F: Fn(usize) -> Vec<Self::Value> + 'static>( self, func: F, ) -> WithKeyPointMethod<Self::CoordDescType>
Bind a existing coordinate spec with a given key points algorithm. See WithKeyPointMethod for more details.
Example: Read more
Source§impl<T> BindKeyPoints for Twhere
T: AsRangedCoord,
impl<T> BindKeyPoints for Twhere
T: AsRangedCoord,
Source§fn with_key_points(
self,
points: Vec<Self::Value>,
) -> WithKeyPoints<Self::CoordDescType>
fn with_key_points( self, points: Vec<Self::Value>, ) -> WithKeyPoints<Self::CoordDescType>
Bind a existing coordinate spec with a given key points vector. See WithKeyPoints for more details.
Example: Read more
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
Source§impl<T> IntoLinspace for Twhere
T: AsRangedCoord,
impl<T> IntoLinspace for Twhere
T: AsRangedCoord,
Source§impl<R> IntoPartialAxis for Rwhere
R: AsRangedCoord,
impl<R> IntoPartialAxis for Rwhere
R: AsRangedCoord,
Source§fn partial_axis(
self,
axis_range: Range<<Self::CoordDescType as Ranged>::ValueType>,
) -> PartialAxis<Self::CoordDescType>
fn partial_axis( self, axis_range: Range<<Self::CoordDescType as Ranged>::ValueType>, ) -> PartialAxis<Self::CoordDescType>
Make the partial axis Read more
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.