pub struct ChartElements { /* private fields */ }
Implementations§
§impl ChartElements
impl ChartElements
pub fn new() -> Self
pub fn get_bar(&mut self) -> &mut Option<BarElementConfiguration>
pub fn bar(self, value: impl Into<BarElementConfiguration>) -> ChartElements
pub fn get_line(&mut self) -> &mut Option<LineElementConfiguration>
pub fn line(self, value: impl Into<LineElementConfiguration>) -> ChartElements
pub fn get_point(&mut self) -> &mut Option<PointElementConfiguration>
pub fn point(self, value: impl Into<PointElementConfiguration>) -> ChartElements
Trait Implementations§
Source§impl Clone for ChartElements
impl Clone for ChartElements
Source§fn clone(&self) -> ChartElements
fn clone(&self) -> ChartElements
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChartElements
impl Debug for ChartElements
Source§impl Default for ChartElements
impl Default for ChartElements
Source§fn default() -> ChartElements
fn default() -> ChartElements
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChartElements
impl<'de> Deserialize<'de> for ChartElements
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
Source§impl Ord for ChartElements
impl Ord for ChartElements
Source§fn cmp(&self, other: &ChartElements) -> Ordering
fn cmp(&self, other: &ChartElements) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ChartElements
impl PartialEq for ChartElements
Source§impl PartialOrd for ChartElements
impl PartialOrd for ChartElements
Source§impl Serialize for ChartElements
impl Serialize for ChartElements
impl Eq for ChartElements
impl StructuralPartialEq for ChartElements
Auto Trait Implementations§
impl Freeze for ChartElements
impl RefUnwindSafe for ChartElements
impl Send for ChartElements
impl Sync for ChartElements
impl Unpin for ChartElements
impl UnwindSafe for ChartElements
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