pub struct Pie { /* private fields */ }Trait Implementations§
Source§impl ChartExt for Pie
impl ChartExt for Pie
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>) -> Selfwhere
Self: Default,
fn data(self, data: impl Into<Self::DS>) -> Selfwhere
Self: Sized,
fn options(self, options: impl Into<ChartOptions>) -> Selfwhere
Self: Sized,
fn into_json(&self) -> JsValue
fn into_chart(&self) -> Chart
fn get_chart_from_id(id: &str) -> Option<Self>where
for<'de> Self: Deserialize<'de>,
Source§impl<'de> Deserialize<'de> for Pie
impl<'de> Deserialize<'de> for Pie
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 Pie
impl RefUnwindSafe for Pie
impl Send for Pie
impl Sync for Pie
impl Unpin for Pie
impl UnsafeUnpin for Pie
impl UnwindSafe for Pie
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