[−][src]Struct plotters::prelude::RangedCoord
The coordinate described by two ranged value
Methods
impl<X: Ranged, Y: Ranged> RangedCoord<X, Y>
[src]
pub fn new<IntoX: Into<X>, IntoY: Into<Y>>(
logic_x: IntoX,
logic_y: IntoY,
actual: (Range<i32>, Range<i32>)
) -> Self
[src]
logic_x: IntoX,
logic_y: IntoY,
actual: (Range<i32>, Range<i32>)
) -> Self
Create a new ranged value coordinate system
pub fn draw_mesh<E, DrawMesh: FnMut(MeshLine<X, Y>) -> Result<(), E>>(
&self,
h_limit: usize,
v_limit: usize,
draw_mesh: DrawMesh
) -> Result<(), E>
[src]
&self,
h_limit: usize,
v_limit: usize,
draw_mesh: DrawMesh
) -> Result<(), E>
Draw the mesh for the coordinate system
pub fn get_x_range(&self) -> Range<X::ValueType>
[src]
Get the range of X axis
pub fn get_y_range(&self) -> Range<Y::ValueType>
[src]
Get the range of Y axis
Trait Implementations
impl<X: Ranged, Y: Ranged> CoordTranslate for RangedCoord<X, Y>
[src]
impl<X: ReversableRanged, Y: ReversableRanged> ReverseCoordTranslate for RangedCoord<X, Y>
[src]
fn reverse_translate(&self, input: BackendCoord) -> Option<Self::From>
[src]
Auto Trait Implementations
impl<X, Y> Send for RangedCoord<X, Y> where
X: Send,
Y: Send,
X: Send,
Y: Send,
impl<X, Y> Sync for RangedCoord<X, Y> where
X: Sync,
Y: Sync,
X: Sync,
Y: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,