Struct plotters::element::TriangleMarker
source · [−]pub struct TriangleMarker<Coord, Size: SizeDesc> { /* private fields */ }
Expand description
A triangle marker for visualizing data series.
See EmptyElement
for more information and examples.
Implementations
sourceimpl<Coord, Size: SizeDesc> TriangleMarker<Coord, Size>
impl<Coord, Size: SizeDesc> TriangleMarker<Coord, Size>
sourcepub fn new<T: Into<ShapeStyle>>(coord: Coord, size: Size, style: T) -> Self
pub fn new<T: Into<ShapeStyle>>(coord: Coord, size: Size, style: T) -> Self
Creates a triangle marker.
See EmptyElement
for more information and examples.
Trait Implementations
sourceimpl<Coord, DB: DrawingBackend, Size: SizeDesc> Drawable<DB, BackendCoordOnly> for TriangleMarker<Coord, Size>
impl<Coord, DB: DrawingBackend, Size: SizeDesc> Drawable<DB, BackendCoordOnly> for TriangleMarker<Coord, Size>
sourceimpl<'a, Coord: 'a, Size: SizeDesc> PointCollection<'a, Coord, BackendCoordOnly> for &'a TriangleMarker<Coord, Size>
impl<'a, Coord: 'a, Size: SizeDesc> PointCollection<'a, Coord, BackendCoordOnly> for &'a TriangleMarker<Coord, Size>
sourceimpl<Coord, Size: SizeDesc> PointElement<Coord, Size> for TriangleMarker<Coord, Size>
impl<Coord, Size: SizeDesc> PointElement<Coord, Size> for TriangleMarker<Coord, Size>
sourcefn make_point(pos: Coord, size: Size, style: ShapeStyle) -> Self
fn make_point(pos: Coord, size: Size, style: ShapeStyle) -> Self
Point creator. Read more
Auto Trait Implementations
impl<Coord, Size> RefUnwindSafe for TriangleMarker<Coord, Size> where
Coord: RefUnwindSafe,
Size: RefUnwindSafe,
impl<Coord, Size> Send for TriangleMarker<Coord, Size> where
Coord: Send,
Size: Send,
impl<Coord, Size> Sync for TriangleMarker<Coord, Size> where
Coord: Sync,
Size: Sync,
impl<Coord, Size> Unpin for TriangleMarker<Coord, Size> where
Coord: Unpin,
Size: Unpin,
impl<Coord, Size> UnwindSafe for TriangleMarker<Coord, Size> where
Coord: UnwindSafe,
Size: UnwindSafe,
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