pub struct RangedCoordf32(/* private fields */);
Expand description
The ranged coordinate for type f32
Trait Implementations§
Source§impl Clone for RangedCoordf32
impl Clone for RangedCoordf32
Source§fn clone(&self) -> RangedCoordf32
fn clone(&self) -> RangedCoordf32
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 RangedCoordf32
impl Ranged for RangedCoordf32
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: &f32, limit: (i32, i32)) -> i32
fn map(&self, v: &f32, 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<f32>
fn key_points<Hint: KeyPointHint>(&self, hint: Hint) -> Vec<f32>
This function gives the key points that we can draw a grid based on this
Source§impl ReversibleRanged for RangedCoordf32
impl ReversibleRanged for RangedCoordf32
Source§impl ValueFormatter<f32> for RangedCoordf32
impl ValueFormatter<f32> for RangedCoordf32
Auto Trait Implementations§
impl Freeze for RangedCoordf32
impl RefUnwindSafe for RangedCoordf32
impl Send for RangedCoordf32
impl Sync for RangedCoordf32
impl Unpin for RangedCoordf32
impl UnwindSafe for RangedCoordf32
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: 8 bytes