pub struct LayoutOptions {
pub node_width: f64,
pub node_height: f64,
pub node_sep: f64,
pub rank_sep: f64,
}Expand description
Configuration knobs for layout. All values are pinned for determinism.
Fields§
§node_width: f64Width of every node box (px). Default: 180.
node_height: f64Height of every node box (px). Default: 60.
node_sep: f64Minimum separation between adjacent nodes in the same rank. Default: 50.
rank_sep: f64Minimum separation between adjacent ranks. Default: 50.
Trait Implementations§
Source§impl Clone for LayoutOptions
impl Clone for LayoutOptions
Source§fn clone(&self) -> LayoutOptions
fn clone(&self) -> LayoutOptions
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 LayoutOptions
impl Debug for LayoutOptions
Auto Trait Implementations§
impl Freeze for LayoutOptions
impl RefUnwindSafe for LayoutOptions
impl Send for LayoutOptions
impl Sync for LayoutOptions
impl Unpin for LayoutOptions
impl UnsafeUnpin for LayoutOptions
impl UnwindSafe for LayoutOptions
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