pub struct SugiyamaParams {
pub hgap: f64,
pub vgap: f64,
pub maxiter: u32,
}Expand description
Parameters for the Sugiyama layout.
Fields§
§hgap: f64Preferred horizontal gap between vertices in the same layer.
vgap: f64Vertical distance between layers.
maxiter: u32Maximum number of iterations for crossing minimization.
Trait Implementations§
Source§impl Clone for SugiyamaParams
impl Clone for SugiyamaParams
Source§fn clone(&self) -> SugiyamaParams
fn clone(&self) -> SugiyamaParams
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 SugiyamaParams
impl Debug for SugiyamaParams
Auto Trait Implementations§
impl Freeze for SugiyamaParams
impl RefUnwindSafe for SugiyamaParams
impl Send for SugiyamaParams
impl Sync for SugiyamaParams
impl Unpin for SugiyamaParams
impl UnsafeUnpin for SugiyamaParams
impl UnwindSafe for SugiyamaParams
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