pub struct MermaidFlowchartConfig {
pub html_labels: Option<bool>,
pub use_max_width: Option<bool>,
pub default_renderer: Option<MermaidFlowchartRenderer>,
pub curve: Option<MermaidFlowchartCurve>,
pub diagram_padding: Option<u32>,
pub node_spacing: Option<u32>,
pub rank_spacing: Option<u32>,
pub padding: Option<u32>,
pub title_top_margin: Option<u32>,
pub wrapping_width: Option<u32>,
pub arrow_marker_absolute: Option<bool>,
}Fields§
§html_labels: Option<bool>§use_max_width: Option<bool>§default_renderer: Option<MermaidFlowchartRenderer>§curve: Option<MermaidFlowchartCurve>§diagram_padding: Option<u32>§node_spacing: Option<u32>§rank_spacing: Option<u32>§padding: Option<u32>§title_top_margin: Option<u32>§wrapping_width: Option<u32>§arrow_marker_absolute: Option<bool>Trait Implementations§
Source§impl Clone for MermaidFlowchartConfig
impl Clone for MermaidFlowchartConfig
Source§fn clone(&self) -> MermaidFlowchartConfig
fn clone(&self) -> MermaidFlowchartConfig
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 MermaidFlowchartConfig
impl Debug for MermaidFlowchartConfig
Source§impl Default for MermaidFlowchartConfig
impl Default for MermaidFlowchartConfig
Source§fn default() -> MermaidFlowchartConfig
fn default() -> MermaidFlowchartConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MermaidFlowchartConfigwhere
MermaidFlowchartConfig: Default,
impl<'de> Deserialize<'de> for MermaidFlowchartConfigwhere
MermaidFlowchartConfig: 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 MermaidFlowchartConfig
impl RefUnwindSafe for MermaidFlowchartConfig
impl Send for MermaidFlowchartConfig
impl Sync for MermaidFlowchartConfig
impl Unpin for MermaidFlowchartConfig
impl UnsafeUnpin for MermaidFlowchartConfig
impl UnwindSafe for MermaidFlowchartConfig
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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