pub trait StyleExt {
fn mesh_conf<X, Y, DB>(
&self,
configure_mesh: &mut MeshStyle<'_, '_, X::Range, Y::Range, DB>
)
where
X: CoordExt,
Y: CoordExt,
DB: DrawingBackend;
fn shape_conf(&self, color: &Color) -> ShapeStyle;
}
Expand description
Mesh configuration extension trait.
Required Methods
Applies a mesh configuration.
fn shape_conf(&self, color: &Color) -> ShapeStyle
fn shape_conf(&self, color: &Color) -> ShapeStyle
Creates a shape style.