[][src]Enum plotters::coord::MeshLine

pub enum MeshLine<'a, X: Ranged, Y: Ranged> {
    XMesh(BackendCoordBackendCoord, &'a X::ValueType),
    YMesh(BackendCoordBackendCoord, &'a Y::ValueType),
}

Represent a coordinate mesh for the two ranged value coordinate system

Variants

XMesh(BackendCoordBackendCoord, &'a X::ValueType)YMesh(BackendCoordBackendCoord, &'a Y::ValueType)

Methods

impl<'a, X: Ranged, Y: Ranged> MeshLine<'a, X, Y>[src]

pub fn draw<DB: DrawingBackend>(
    &self,
    backend: &mut DB,
    style: &ShapeStyle
) -> Result<(), DrawingErrorKind<DB::ErrorType>>
[src]

Draw a single mesh line onto the backend

Auto Trait Implementations

impl<'a, X, Y> Send for MeshLine<'a, X, Y> where
    <X as Ranged>::ValueType: Sync,
    <Y as Ranged>::ValueType: Sync

impl<'a, X, Y> Sync for MeshLine<'a, X, Y> where
    <X as Ranged>::ValueType: Sync,
    <Y as Ranged>::ValueType: Sync

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.