Struct maelstrom_plot::Points
source · pub struct Points { /* private fields */ }
Expand description
A set of points.
Implementations§
source§impl Points
impl Points
pub fn new(series: impl Into<PlotPoints>) -> Self
sourcepub fn shape(self, shape: MarkerShape) -> Self
pub fn shape(self, shape: MarkerShape) -> Self
Set the shape of the markers.
sourcepub fn highlight(self, highlight: bool) -> Self
pub fn highlight(self, highlight: bool) -> Self
Highlight these points in the plot by scaling up their markers.
sourcepub fn stems(self, y_reference: impl Into<f32>) -> Self
pub fn stems(self, y_reference: impl Into<f32>) -> Self
Whether to add stems between the markers and a horizontal reference line.
Auto Trait Implementations§
impl Freeze for Points
impl !RefUnwindSafe for Points
impl !Send for Points
impl !Sync for Points
impl Unpin for Points
impl !UnwindSafe for Points
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