[][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> Unpin for MeshLine<'a, X, Y>

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

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

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

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> SetParameter for T

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]

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]