pub struct RangedCoordf64(/* private fields */);
Expand description
The ranged coordinate for type f64
Trait Implementations§
Source§impl Clone for RangedCoordf64
impl Clone for RangedCoordf64
Source§fn clone(&self) -> RangedCoordf64
fn clone(&self) -> RangedCoordf64
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Ranged for RangedCoordf64
impl Ranged for RangedCoordf64
Source§type FormatOption = NoDefaultFormatting
type FormatOption = NoDefaultFormatting
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, v: &f64, limit: (i32, i32)) -> i32
fn map(&self, v: &f64, 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<f64>
fn key_points<Hint: KeyPointHint>(&self, hint: Hint) -> Vec<f64>
This function gives the key points that we can draw a grid based on this
Source§impl ReversibleRanged for RangedCoordf64
impl ReversibleRanged for RangedCoordf64
Source§impl ValueFormatter<f64> for RangedCoordf64
impl ValueFormatter<f64> for RangedCoordf64
Auto Trait Implementations§
impl Freeze for RangedCoordf64
impl RefUnwindSafe for RangedCoordf64
impl Send for RangedCoordf64
impl Sync for RangedCoordf64
impl Unpin for RangedCoordf64
impl UnwindSafe for RangedCoordf64
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes