pub struct MarkerStyle {
pub size: MarkerSize,
pub marker_type: MarkerType,
}Expand description
Marker styling options for series points.
Defines how individual data points are rendered.
Fields§
§size: MarkerSizeSize of the marker in pixels or world units.
marker_type: MarkerTypeShape of the marker.
Implementations§
Source§impl MarkerStyle
impl MarkerStyle
pub fn new(size: f32, marker_type: MarkerType) -> Self
pub fn new_world(size: f64, marker_type: MarkerType) -> Self
pub fn circle(size: f32) -> Self
pub fn ring(size: f32) -> Self
pub fn square(size: f32) -> Self
pub fn star(size: f32) -> Self
pub fn triangle(size: f32) -> Self
Trait Implementations§
Source§impl Clone for MarkerStyle
impl Clone for MarkerStyle
Source§fn clone(&self) -> MarkerStyle
fn clone(&self) -> MarkerStyle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MarkerStyle
impl Debug for MarkerStyle
Source§impl Default for MarkerStyle
impl Default for MarkerStyle
Source§impl PartialEq for MarkerStyle
impl PartialEq for MarkerStyle
impl Copy for MarkerStyle
impl StructuralPartialEq for MarkerStyle
Auto Trait Implementations§
impl Freeze for MarkerStyle
impl RefUnwindSafe for MarkerStyle
impl Send for MarkerStyle
impl Sync for MarkerStyle
impl Unpin for MarkerStyle
impl UnwindSafe for MarkerStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<State, Message> IntoBoot<State, Message> for State
impl<State, Message> IntoBoot<State, Message> for State
Source§fn into_boot(self) -> (State, Task<Message>)
fn into_boot(self) -> (State, Task<Message>)
Turns some type into the initial state of some
Application.