Struct chart_js_rs::types::ChartInteraction
source · pub struct ChartInteraction {
pub axis: String,
pub intersect: Option<bool>,
pub mode: String,
}
Fields§
§axis: String
§intersect: Option<bool>
§mode: String
Trait 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<'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§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 for ChartInteraction
impl PartialOrd 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 moresource§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