pub enum MeshLine<'a, X: Ranged, Y: Ranged> {
XMesh(BackendCoord, BackendCoord, &'a X::ValueType),
YMesh(BackendCoord, BackendCoord, &'a Y::ValueType),
}
Expand description
Represent a coordinate mesh for the two ranged value coordinate system
Variants§
XMesh(BackendCoord, BackendCoord, &'a X::ValueType)
YMesh(BackendCoord, BackendCoord, &'a Y::ValueType)
Implementations§
Source§impl<'a, X: Ranged, Y: Ranged> MeshLine<'a, X, Y>
impl<'a, X: Ranged, Y: Ranged> MeshLine<'a, X, Y>
Sourcepub fn draw<DB: DrawingBackend>(
&self,
backend: &mut DB,
style: &ShapeStyle,
) -> Result<(), DrawingErrorKind<DB::ErrorType>>
pub fn draw<DB: DrawingBackend>( &self, backend: &mut DB, style: &ShapeStyle, ) -> Result<(), DrawingErrorKind<DB::ErrorType>>
Draw a single mesh line onto the backend
Auto Trait Implementations§
impl<'a, X, Y> Freeze for MeshLine<'a, X, Y>
impl<'a, X, Y> RefUnwindSafe for MeshLine<'a, X, Y>
impl<'a, X, Y> Send for MeshLine<'a, X, Y>
impl<'a, X, Y> Sync for MeshLine<'a, X, Y>
impl<'a, X, Y> Unpin for MeshLine<'a, X, Y>
impl<'a, X, Y> UnwindSafe for MeshLine<'a, X, Y>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more