[−][src]Struct plotters::coord::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
pub fn get_x_axis_pixel_range(&self) -> Range<i32>
[src]
pub fn get_y_axis_pixel_range(&self) -> Range<i32>
[src]
pub fn x_spec(&self) -> &X
[src]
pub fn y_spec(&self) -> &Y
[src]
Trait Implementations
impl<X: Ranged, Y: Ranged> CoordTranslate for RangedCoord<X, Y>
[src]
impl<X: ReversibleRanged, Y: ReversibleRanged> ReverseCoordTranslate for RangedCoord<X, Y>
[src]
fn reverse_translate(&self, input: BackendCoord) -> Option<Self::From>
[src]
impl<X: Ranged + Clone, Y: Ranged + Clone> Clone for RangedCoord<X, Y>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<X, Y> Send for RangedCoord<X, Y> where
X: Send,
Y: Send,
X: Send,
Y: Send,
impl<X, Y> Unpin for RangedCoord<X, Y> where
X: Unpin,
Y: Unpin,
X: Unpin,
Y: Unpin,
impl<X, Y> Sync for RangedCoord<X, Y> where
X: Sync,
Y: Sync,
X: Sync,
Y: Sync,
impl<X, Y> UnwindSafe for RangedCoord<X, Y> where
X: UnwindSafe,
Y: UnwindSafe,
X: UnwindSafe,
Y: UnwindSafe,
impl<X, Y> RefUnwindSafe for RangedCoord<X, Y> where
X: RefUnwindSafe,
Y: RefUnwindSafe,
X: RefUnwindSafe,
Y: RefUnwindSafe,
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
[src]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into(self) -> D
[src]
impl<T, U> ConvertInto<U> for T where
U: ConvertFrom<T>,
[src]
U: ConvertFrom<T>,