plotters::element

Trait PointElement

Source
pub trait PointElement<Coord, Size: SizeDesc> {
    // Required method
    fn make_point(pos: Coord, size: Size, style: ShapeStyle) -> Self;
}
Expand description

The element that used to describe a point

Required Methods§

Source

fn make_point(pos: Coord, size: Size, style: ShapeStyle) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<Coord, Size: SizeDesc> PointElement<Coord, Size> for Circle<Coord, Size>

Source§

impl<Coord, Size: SizeDesc> PointElement<Coord, Size> for Cross<Coord, Size>

Source§

impl<Coord, Size: SizeDesc> PointElement<Coord, Size> for Pixel<Coord>

Source§

impl<Coord, Size: SizeDesc> PointElement<Coord, Size> for TriangleMarker<Coord, Size>