pub struct Config {Show 13 fields
pub padding: f64,
pub left_margin: f64,
pub right_margin: f64,
pub participant_gap: f64,
pub header_height: f64,
pub row_height: f64,
pub participant_width: f64,
pub font_size: f64,
pub activation_width: f64,
pub note_padding: f64,
pub block_margin: f64,
pub title_height: f64,
pub theme: Theme,
}Expand description
Rendering configuration
Fields§
§padding: f64Padding around the diagram
left_margin: f64Left margin for diagram content
right_margin: f64Right margin for diagram content
participant_gap: f64Space between participants
header_height: f64Height of participant header/footer box
row_height: f64Height of each row (message, note, etc.)
participant_width: f64Width of participant box
font_size: f64Font size
activation_width: f64Activation box width
note_padding: f64Note padding
block_margin: f64Block margin
title_height: f64Title height (when title exists)
theme: ThemeTheme for styling
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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