pub struct Bar<D: DatasetTrait> { /* private fields */ }
Trait Implementations§
Source§impl<D: DatasetTrait> ChartExt for Bar<D>
impl<D: DatasetTrait> ChartExt for Bar<D>
type DS = Dataset<D>
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
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, D> Deserialize<'de> for Bar<D>where
D: DatasetTrait,
impl<'de, D> Deserialize<'de> for Bar<D>where
D: DatasetTrait,
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<D> Freeze for Bar<D>where
D: Freeze,
impl<D> RefUnwindSafe for Bar<D>where
D: RefUnwindSafe,
impl<D> Send for Bar<D>where
D: Send,
impl<D> Sync for Bar<D>where
D: Sync,
impl<D> Unpin for Bar<D>where
D: Unpin,
impl<D> UnwindSafe for Bar<D>where
D: 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