pub enum MeshLine<'a, X, Y> where
X: Ranged,
Y: Ranged, {
XMesh((i32, i32), (i32, i32), &'a <X as Ranged>::ValueType),
YMesh((i32, i32), (i32, i32), &'a <Y as Ranged>::ValueType),
}Available on crate feature
plot only.Expand description
Represent a coordinate mesh for the two ranged value coordinate system
Variants
XMesh((i32, i32), (i32, i32), &'a <X as Ranged>::ValueType)
YMesh((i32, i32), (i32, i32), &'a <Y as Ranged>::ValueType)
Implementations
sourceimpl<'a, X, Y> MeshLine<'a, X, Y> where
X: Ranged,
Y: Ranged,
impl<'a, X, Y> MeshLine<'a, X, Y> where
X: Ranged,
Y: Ranged,
sourcepub fn draw<DB>(
&self,
backend: &mut DB,
style: &ShapeStyle
) -> Result<(), DrawingErrorKind<<DB as DrawingBackend>::ErrorType>> where
DB: DrawingBackend,
pub fn draw<DB>(
&self,
backend: &mut DB,
style: &ShapeStyle
) -> Result<(), DrawingErrorKind<<DB as DrawingBackend>::ErrorType>> where
DB: DrawingBackend,
Draw a single mesh line onto the backend
Auto Trait Implementations
impl<'a, X, Y> RefUnwindSafe for MeshLine<'a, X, Y> where
<X as Ranged>::ValueType: RefUnwindSafe,
<Y as Ranged>::ValueType: RefUnwindSafe,
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,
impl<'a, X, Y> Unpin for MeshLine<'a, X, Y>
impl<'a, X, Y> UnwindSafe for MeshLine<'a, X, Y> where
<X as Ranged>::ValueType: RefUnwindSafe,
<Y as Ranged>::ValueType: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more