pub struct Doughnut { /* private fields */ }Trait Implementations§
Source§impl ChartExt for Doughnut
impl ChartExt for Doughnut
type DS = Dataset<Vec<SinglePointDataset>>
fn get_id(&self) -> &str
fn id(self, id: String) -> Self
fn get_data(&mut self) -> &mut Self::DS
fn get_options(&mut self) -> &mut ChartOptions
fn new(id: impl AsRef<str>) -> Self
fn data(self, data: impl Into<Self::DS>) -> Self
fn options(self, options: impl Into<ChartOptions>) -> Self
fn into_chart(self) -> Chart
fn get_chart_from_id(id: &str) -> Option<Self>
Source§impl<'de> Deserialize<'de> for Doughnut
impl<'de> Deserialize<'de> for Doughnut
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 Freeze for Doughnut
impl RefUnwindSafe for Doughnut
impl Send for Doughnut
impl Sync for Doughnut
impl Unpin for Doughnut
impl UnwindSafe for Doughnut
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