pub struct MermaidGanttConfig {Show 16 fields
pub use_max_width: Option<bool>,
pub title_top_margin: Option<u32>,
pub bar_height: Option<u32>,
pub bar_gap: Option<u32>,
pub top_padding: Option<u32>,
pub right_padding: Option<u32>,
pub left_padding: Option<u32>,
pub grid_line_start_padding: Option<u32>,
pub font_size: Option<u32>,
pub section_font_size: Option<CssDimension>,
pub number_section_styles: Option<u32>,
pub axis_format: Option<String>,
pub tick_interval: Option<String>,
pub top_axis: Option<bool>,
pub display_mode: Option<MermaidGanttDisplayMode>,
pub weekday: Option<MermaidGanttWeekday>,
}Fields§
§use_max_width: Option<bool>§title_top_margin: Option<u32>§bar_height: Option<u32>§bar_gap: Option<u32>§top_padding: Option<u32>§right_padding: Option<u32>§left_padding: Option<u32>§grid_line_start_padding: Option<u32>§font_size: Option<u32>§section_font_size: Option<CssDimension>§number_section_styles: Option<u32>§axis_format: Option<String>§tick_interval: Option<String>§top_axis: Option<bool>§display_mode: Option<MermaidGanttDisplayMode>§weekday: Option<MermaidGanttWeekday>Trait Implementations§
Source§impl Clone for MermaidGanttConfig
impl Clone for MermaidGanttConfig
Source§fn clone(&self) -> MermaidGanttConfig
fn clone(&self) -> MermaidGanttConfig
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 MermaidGanttConfig
impl Debug for MermaidGanttConfig
Source§impl Default for MermaidGanttConfig
impl Default for MermaidGanttConfig
Source§fn default() -> MermaidGanttConfig
fn default() -> MermaidGanttConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MermaidGanttConfigwhere
MermaidGanttConfig: Default,
impl<'de> Deserialize<'de> for MermaidGanttConfigwhere
MermaidGanttConfig: 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 MermaidGanttConfig
impl RefUnwindSafe for MermaidGanttConfig
impl Send for MermaidGanttConfig
impl Sync for MermaidGanttConfig
impl Unpin for MermaidGanttConfig
impl UnsafeUnpin for MermaidGanttConfig
impl UnwindSafe for MermaidGanttConfig
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