pub struct MarkSpec<P: Phase = Raw> {
pub mark_type: MarkType,
pub mark_type_span: Span,
pub properties: Vec<PlotField<P>>,
pub span: Span,
}Expand description
The mark specification in a plot declaration: mark: point or mark: line { stroke_width: 2.0 }.
Fields§
§mark_type: MarkType§mark_type_span: Span§properties: Vec<PlotField<P>>§span: SpanTrait Implementations§
Source§impl FormatEquivalent for MarkSpec
impl FormatEquivalent for MarkSpec
Source§fn format_equivalent(&self, other: &Self) -> bool
fn format_equivalent(&self, other: &Self) -> bool
Returns
true if self and other are equivalent up to formatting.Auto Trait Implementations§
impl<P> Freeze for MarkSpec<P>
impl<P> RefUnwindSafe for MarkSpec<P>
impl<P> Send for MarkSpec<P>
impl<P> Sync for MarkSpec<P>
impl<P> Unpin for MarkSpec<P>
impl<P> UnsafeUnpin for MarkSpec<P>
impl<P> UnwindSafe for MarkSpec<P>
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