pub struct DotOptions {
pub rank_direction: String,
pub node_shape: String,
pub font_name: String,
}Expand description
Options for DOT export formatting.
Fields§
§rank_direction: StringGraph rank direction: “TB” (top-bottom), “LR” (left-right), “BT”, “RL”
node_shape: StringNode shape: “box”, “ellipse”, “circle”, “diamond”, etc.
font_name: StringFont name for labels
Implementations§
Source§impl DotOptions
impl DotOptions
Sourcepub fn hierarchical() -> Self
pub fn hierarchical() -> Self
Create options for hierarchical layout.
Trait Implementations§
Source§impl Clone for DotOptions
impl Clone for DotOptions
Source§fn clone(&self) -> DotOptions
fn clone(&self) -> DotOptions
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 DotOptions
impl Debug for DotOptions
Auto Trait Implementations§
impl Freeze for DotOptions
impl RefUnwindSafe for DotOptions
impl Send for DotOptions
impl Sync for DotOptions
impl Unpin for DotOptions
impl UnwindSafe for DotOptions
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