Trait PointElement

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

The element that used to describe a point

Required Methods§

Source

fn make_point(pos: Coord, size: u32, style: ShapeStyle<'a>) -> 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<'a, Coord> PointElement<'a, Coord> for Circle<'a, Coord>

Source§

impl<'a, Coord> PointElement<'a, Coord> for Cross<'a, Coord>

Source§

impl<'a, Coord> PointElement<'a, Coord> for Pixel<'a, Coord>