pub enum GraphType {
Scatter,
Line,
}
Expand description
Used to determine which style of graphing to use
Variants§
Scatter
Draw each point. This is the default.
Line
Draw a line between each following point.
The order of the lines will be the same as the order of the points in the dataset, which allows this widget to draw lines both left-to-right and right-to-left
Trait Implementations§
source§impl PartialEq for GraphType
impl PartialEq for GraphType
impl Copy for GraphType
impl Eq for GraphType
impl StructuralPartialEq for GraphType
Auto Trait Implementations§
impl Freeze for GraphType
impl RefUnwindSafe for GraphType
impl Send for GraphType
impl Sync for GraphType
impl Unpin for GraphType
impl UnwindSafe for GraphType
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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 moresource§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString
. Read more