Struct chart_js_rs::types::TooltipPlugins
source · pub struct TooltipPlugins {
pub enabled: Option<bool>,
pub bodyColor: String,
pub bodyAlign: String,
pub displayColors: Option<bool>,
pub backgroundColor: String,
pub titleColor: String,
pub titleAlign: String,
pub titleMarginBottom: NumberString,
}
Fields§
§enabled: Option<bool>
§bodyColor: String
§bodyAlign: String
§displayColors: Option<bool>
§backgroundColor: String
§titleColor: String
§titleAlign: String
§titleMarginBottom: NumberString
Trait Implementations§
source§impl Clone for TooltipPlugins
impl Clone for TooltipPlugins
source§fn clone(&self) -> TooltipPlugins
fn clone(&self) -> TooltipPlugins
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 TooltipPlugins
impl Debug for TooltipPlugins
source§impl Default for TooltipPlugins
impl Default for TooltipPlugins
source§fn default() -> TooltipPlugins
fn default() -> TooltipPlugins
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TooltipPlugins
impl<'de> Deserialize<'de> for TooltipPlugins
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 TooltipPlugins
impl Ord for TooltipPlugins
source§fn cmp(&self, other: &TooltipPlugins) -> Ordering
fn cmp(&self, other: &TooltipPlugins) -> 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 TooltipPlugins
impl PartialEq for TooltipPlugins
source§fn eq(&self, other: &TooltipPlugins) -> bool
fn eq(&self, other: &TooltipPlugins) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TooltipPlugins
impl PartialOrd for TooltipPlugins
source§fn partial_cmp(&self, other: &TooltipPlugins) -> Option<Ordering>
fn partial_cmp(&self, other: &TooltipPlugins) -> 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 TooltipPlugins
impl Serialize for TooltipPlugins
impl Eq for TooltipPlugins
impl StructuralPartialEq for TooltipPlugins
Auto Trait Implementations§
impl RefUnwindSafe for TooltipPlugins
impl Send for TooltipPlugins
impl Sync for TooltipPlugins
impl Unpin for TooltipPlugins
impl UnwindSafe for TooltipPlugins
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