pub struct DugongLayoutEngine;Expand description
Built-in Dagre-compatible layout engine powered by dugong.
Trait Implementations§
Source§impl Clone for DugongLayoutEngine
impl Clone for DugongLayoutEngine
Source§fn clone(&self) -> DugongLayoutEngine
fn clone(&self) -> DugongLayoutEngine
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 moreimpl Copy for DugongLayoutEngine
Source§impl Debug for DugongLayoutEngine
impl Debug for DugongLayoutEngine
Source§impl Default for DugongLayoutEngine
impl Default for DugongLayoutEngine
Source§fn default() -> DugongLayoutEngine
fn default() -> DugongLayoutEngine
Returns the “default value” for a type. Read more
Source§impl LayoutEngine for DugongLayoutEngine
impl LayoutEngine for DugongLayoutEngine
Source§fn id(&self) -> LayoutEngineId
fn id(&self) -> LayoutEngineId
Stable engine id.
Source§fn layout(
&self,
graph: &Graph,
request: &LayoutRequest,
context: &LayoutContext,
) -> Result<LayoutResult, LayoutError>
fn layout( &self, graph: &Graph, request: &LayoutRequest, context: &LayoutContext, ) -> Result<LayoutResult, LayoutError>
Runs this layout engine.
Auto Trait Implementations§
impl Freeze for DugongLayoutEngine
impl RefUnwindSafe for DugongLayoutEngine
impl Send for DugongLayoutEngine
impl Sync for DugongLayoutEngine
impl Unpin for DugongLayoutEngine
impl UnsafeUnpin for DugongLayoutEngine
impl UnwindSafe for DugongLayoutEngine
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