pub struct MermaidThemeVariables {Show 27 fields
pub background: Option<String>,
pub font_family: Option<String>,
pub font_size: Option<String>,
pub primary_color: Option<String>,
pub primary_text_color: Option<String>,
pub primary_border_color: Option<String>,
pub secondary_color: Option<String>,
pub secondary_text_color: Option<String>,
pub secondary_border_color: Option<String>,
pub tertiary_color: Option<String>,
pub tertiary_text_color: Option<String>,
pub tertiary_border_color: Option<String>,
pub note_bkg_color: Option<String>,
pub note_text_color: Option<String>,
pub note_border_color: Option<String>,
pub line_color: Option<String>,
pub text_color: Option<String>,
pub main_bkg: Option<String>,
pub error_bkg_color: Option<String>,
pub error_text_color: Option<String>,
pub node_bkg: Option<String>,
pub node_border: Option<String>,
pub cluster_bkg: Option<String>,
pub cluster_border: Option<String>,
pub default_link_color: Option<String>,
pub title_color: Option<String>,
pub edge_label_background: Option<String>,
}Fields§
§background: Option<String>§font_family: Option<String>§font_size: Option<String>§primary_color: Option<String>§primary_text_color: Option<String>§primary_border_color: Option<String>§secondary_color: Option<String>§secondary_text_color: Option<String>§secondary_border_color: Option<String>§tertiary_color: Option<String>§tertiary_text_color: Option<String>§tertiary_border_color: Option<String>§note_bkg_color: Option<String>§note_text_color: Option<String>§note_border_color: Option<String>§line_color: Option<String>§text_color: Option<String>§main_bkg: Option<String>§error_bkg_color: Option<String>§error_text_color: Option<String>§node_bkg: Option<String>§node_border: Option<String>§cluster_bkg: Option<String>§cluster_border: Option<String>§default_link_color: Option<String>§title_color: Option<String>§edge_label_background: Option<String>Trait Implementations§
Source§impl Clone for MermaidThemeVariables
impl Clone for MermaidThemeVariables
Source§fn clone(&self) -> MermaidThemeVariables
fn clone(&self) -> MermaidThemeVariables
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MermaidThemeVariables
impl Debug for MermaidThemeVariables
Source§impl Default for MermaidThemeVariables
impl Default for MermaidThemeVariables
Source§fn default() -> MermaidThemeVariables
fn default() -> MermaidThemeVariables
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MermaidThemeVariableswhere
MermaidThemeVariables: Default,
impl<'de> Deserialize<'de> for MermaidThemeVariableswhere
MermaidThemeVariables: Default,
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
Auto Trait Implementations§
impl Freeze for MermaidThemeVariables
impl RefUnwindSafe for MermaidThemeVariables
impl Send for MermaidThemeVariables
impl Sync for MermaidThemeVariables
impl Unpin for MermaidThemeVariables
impl UnsafeUnpin for MermaidThemeVariables
impl UnwindSafe for MermaidThemeVariables
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more