pub struct GraphLayout { /* private fields */ }Expand description
Graph layout engine
Implementations§
Source§impl GraphLayout
impl GraphLayout
pub fn new(algorithm: GraphLayoutAlgorithm) -> Self
pub fn with_config(self, config: GraphLayoutConfig) -> Self
pub fn layout_graph(&self, graph: &Graph) -> Result<Layout>
Auto Trait Implementations§
impl Freeze for GraphLayout
impl RefUnwindSafe for GraphLayout
impl Send for GraphLayout
impl Sync for GraphLayout
impl Unpin for GraphLayout
impl UnwindSafe for GraphLayout
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