pub enum ChartData<X, Y>where
X: WithTypeAndSerializer,
Y: WithTypeAndSerializer,{
Vector2D(Vec<(ValueSerializeWrapper<X>, ValueSerializeWrapper<Y>)>),
VectorWithRadius(Vec<DataPointWithRadius<ValueSerializeWrapper<X>, ValueSerializeWrapper<Y>>>),
VectorWithText(Vec<DataPointWithTooltip<ValueSerializeWrapper<X>, ValueSerializeWrapper<Y>>>),
}
Variants§
Vector2D(Vec<(ValueSerializeWrapper<X>, ValueSerializeWrapper<Y>)>)
VectorWithRadius(Vec<DataPointWithRadius<ValueSerializeWrapper<X>, ValueSerializeWrapper<Y>>>)
VectorWithText(Vec<DataPointWithTooltip<ValueSerializeWrapper<X>, ValueSerializeWrapper<Y>>>)
Trait Implementations§
Source§impl<const N: usize, X, Y> From<[(X, Y); N]> for ChartData<X, Y>where
X: WithTypeAndSerializer,
Y: WithTypeAndSerializer,
impl<const N: usize, X, Y> From<[(X, Y); N]> for ChartData<X, Y>where
X: WithTypeAndSerializer,
Y: WithTypeAndSerializer,
Source§impl<const N: usize, X, Y> From<[(X, Y, &str); N]> for ChartData<X, Y>where
X: WithTypeAndSerializer,
Y: WithTypeAndSerializer,
impl<const N: usize, X, Y> From<[(X, Y, &str); N]> for ChartData<X, Y>where
X: WithTypeAndSerializer,
Y: WithTypeAndSerializer,
Source§impl<const N: usize, X, Y> From<[(X, Y, String); N]> for ChartData<X, Y>where
X: WithTypeAndSerializer,
Y: WithTypeAndSerializer,
impl<const N: usize, X, Y> From<[(X, Y, String); N]> for ChartData<X, Y>where
X: WithTypeAndSerializer,
Y: WithTypeAndSerializer,
Source§impl<X: WithTypeAndSerializer, Y: WithTypeAndSerializer> From<ChartData<X, Y>> for Vec<(X, Y)>
impl<X: WithTypeAndSerializer, Y: WithTypeAndSerializer> From<ChartData<X, Y>> for Vec<(X, Y)>
Source§impl<X, Y> From<Vec<(X, Y)>> for ChartData<X, Y>where
X: WithTypeAndSerializer,
Y: WithTypeAndSerializer,
impl<X, Y> From<Vec<(X, Y)>> for ChartData<X, Y>where
X: WithTypeAndSerializer,
Y: WithTypeAndSerializer,
Source§impl<X, Y> From<Vec<(X, Y, &str)>> for ChartData<X, Y>where
X: WithTypeAndSerializer,
Y: WithTypeAndSerializer,
impl<X, Y> From<Vec<(X, Y, &str)>> for ChartData<X, Y>where
X: WithTypeAndSerializer,
Y: WithTypeAndSerializer,
Auto Trait Implementations§
impl<X, Y> Freeze for ChartData<X, Y>
impl<X, Y> RefUnwindSafe for ChartData<X, Y>where
X: RefUnwindSafe,
Y: RefUnwindSafe,
impl<X, Y> Send for ChartData<X, Y>
impl<X, Y> Sync for ChartData<X, Y>
impl<X, Y> Unpin for ChartData<X, Y>
impl<X, Y> UnwindSafe for ChartData<X, Y>where
X: UnwindSafe,
Y: UnwindSafe,
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