pub struct ChartInteraction { /* private fields */ }
Implementations§
§impl ChartInteraction
impl ChartInteraction
pub fn new() -> Self
pub fn get_axis(&mut self) -> &mut String
pub fn axis(self, value: impl Into<String>) -> ChartInteraction
pub fn get_intersect(&mut self) -> &mut Option<bool>
pub fn intersect(self, value: impl Into<bool>) -> ChartInteraction
pub fn get_mode(&mut self) -> &mut String
pub fn mode(self, value: impl Into<String>) -> ChartInteraction
Trait Implementations§
Source§impl Clone for ChartInteraction
impl Clone for ChartInteraction
Source§fn clone(&self) -> ChartInteraction
fn clone(&self) -> ChartInteraction
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 ChartInteraction
impl Debug for ChartInteraction
Source§impl Default for ChartInteraction
impl Default for ChartInteraction
Source§fn default() -> ChartInteraction
fn default() -> ChartInteraction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChartInteraction
impl<'de> Deserialize<'de> for ChartInteraction
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 ChartInteraction
impl Ord for ChartInteraction
Source§fn cmp(&self, other: &ChartInteraction) -> Ordering
fn cmp(&self, other: &ChartInteraction) -> 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 ChartInteraction
impl PartialEq for ChartInteraction
Source§impl PartialOrd for ChartInteraction
impl PartialOrd for ChartInteraction
Source§impl Serialize for ChartInteraction
impl Serialize for ChartInteraction
impl Eq for ChartInteraction
impl StructuralPartialEq for ChartInteraction
Auto Trait Implementations§
impl Freeze for ChartInteraction
impl RefUnwindSafe for ChartInteraction
impl Send for ChartInteraction
impl Sync for ChartInteraction
impl Unpin for ChartInteraction
impl UnwindSafe for ChartInteraction
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