pub struct Pie<A: Annotation> { /* private fields */ }
Trait Implementations§
Source§impl<A: Annotation + DeserializeOwned> ChartExt<A> for Pie<A>
impl<A: Annotation + DeserializeOwned> ChartExt<A> for Pie<A>
type DS = Dataset<Vec<SinglePointDataset>>
fn get_id(self) -> String
fn id(self, id: String) -> Self
fn get_data(&mut self) -> &mut Self::DS
fn get_options(&mut self) -> &mut ChartOptions<A>
fn new(id: impl AsRef<str>) -> Self
fn data(self, data: impl Into<Self::DS>) -> Self
fn options(self, options: impl Into<ChartOptions<A>>) -> Self
fn into_chart(self) -> Chart
fn get_chart_from_id(id: &str) -> Option<Self>
Source§impl<'de, A> Deserialize<'de> for Pie<A>where
A: Deserialize<'de> + Annotation,
impl<'de, A> Deserialize<'de> for Pie<A>where
A: Deserialize<'de> + Annotation,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<A> Freeze for Pie<A>
impl<A> RefUnwindSafe for Pie<A>where
A: RefUnwindSafe,
impl<A> Send for Pie<A>where
A: Send,
impl<A> Sync for Pie<A>where
A: Sync,
impl<A> Unpin for Pie<A>where
A: Unpin,
impl<A> UnwindSafe for Pie<A>where
A: 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