Struct chart_js_rs::types::ChartInteraction
source · pub struct ChartInteraction {
pub intersect: Option<bool>,
pub mode: String,
pub axis: String,
}Fields§
§intersect: Option<bool>§mode: String§axis: StringTrait Implementations§
source§impl Clone for ChartInteraction
impl Clone for ChartInteraction
source§fn clone(&self) -> ChartInteraction
fn clone(&self) -> ChartInteraction
Returns a copy 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 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<ChartInteraction> for ChartInteraction
impl PartialEq<ChartInteraction> for ChartInteraction
source§fn eq(&self, other: &ChartInteraction) -> bool
fn eq(&self, other: &ChartInteraction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ChartInteraction> for ChartInteraction
impl PartialOrd<ChartInteraction> for ChartInteraction
source§fn partial_cmp(&self, other: &ChartInteraction) -> Option<Ordering>
fn partial_cmp(&self, other: &ChartInteraction) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more