pub struct ElaborateConfig {
pub component_layout: LayoutEngine,
pub sequence_layout: LayoutEngine,
}Expand description
Configuration for the elaboration phase.
This struct holds the default layout engine settings that are used when no explicit layout_engine attribute is specified in the diagram.
Fields§
§component_layout: LayoutEngineDefault layout engine for component diagrams
sequence_layout: LayoutEngineDefault layout engine for sequence diagrams
Implementations§
Source§impl ElaborateConfig
impl ElaborateConfig
Sourcepub fn new(
component_layout: LayoutEngine,
sequence_layout: LayoutEngine,
) -> Self
pub fn new( component_layout: LayoutEngine, sequence_layout: LayoutEngine, ) -> Self
Creates a new ElaborateConfig with the specified layout engines.
Trait Implementations§
Source§impl Clone for ElaborateConfig
impl Clone for ElaborateConfig
Source§fn clone(&self) -> ElaborateConfig
fn clone(&self) -> ElaborateConfig
Returns a duplicate 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 ElaborateConfig
impl Debug for ElaborateConfig
Source§impl Default for ElaborateConfig
impl Default for ElaborateConfig
Source§fn default() -> ElaborateConfig
fn default() -> ElaborateConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ElaborateConfig
impl RefUnwindSafe for ElaborateConfig
impl Send for ElaborateConfig
impl Sync for ElaborateConfig
impl Unpin for ElaborateConfig
impl UnsafeUnpin for ElaborateConfig
impl UnwindSafe for ElaborateConfig
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