Struct DottedLineSeries
pub struct DottedLineSeries<I, Size, Marker>{ /* private fields */ }Available on crate feature
plot only.Expand description
A dotted line series, map an iterable object to the dotted line element.
Implementations§
§impl<I, Size, Marker> DottedLineSeries<I, Size, Marker>
impl<I, Size, Marker> DottedLineSeries<I, Size, Marker>
pub fn new<I0, F>(
points: I0,
shift: Size,
spacing: Size,
func: F,
) -> DottedLineSeries<I, Size, Marker>
pub fn new<I0, F>( points: I0, shift: Size, spacing: Size, func: F, ) -> DottedLineSeries<I, Size, Marker>
Create a new line series from
points: The iterator of the pointsshift: The shift of the first markerspacing: The spacing between markersfunc: The marker function- returns the created element
Trait Implementations§
§impl<I, Size, Marker> IntoIterator for DottedLineSeries<I, Size, Marker>
impl<I, Size, Marker> IntoIterator for DottedLineSeries<I, Size, Marker>
§type Item = DottedPathElement<I, Size, Marker>
type Item = DottedPathElement<I, Size, Marker>
The type of the elements being iterated over.
§type IntoIter = Once<<DottedLineSeries<I, Size, Marker> as IntoIterator>::Item>
type IntoIter = Once<<DottedLineSeries<I, Size, Marker> as IntoIterator>::Item>
Which kind of iterator are we turning this into?
§fn into_iter(
self,
) -> <DottedLineSeries<I, Size, Marker> as IntoIterator>::IntoIter
fn into_iter( self, ) -> <DottedLineSeries<I, Size, Marker> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
Auto Trait Implementations§
impl<I, Size, Marker> Freeze for DottedLineSeries<I, Size, Marker>
impl<I, Size, Marker> !RefUnwindSafe for DottedLineSeries<I, Size, Marker>
impl<I, Size, Marker> !Send for DottedLineSeries<I, Size, Marker>
impl<I, Size, Marker> !Sync for DottedLineSeries<I, Size, Marker>
impl<I, Size, Marker> Unpin for DottedLineSeries<I, Size, Marker>
impl<I, Size, Marker> !UnwindSafe for DottedLineSeries<I, Size, Marker>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more