pub struct MindMapFreeformLayoutEngine;Expand description
Built-in freeform mind-map engine that only resolves overlaps.
Trait Implementations§
Source§impl Clone for MindMapFreeformLayoutEngine
impl Clone for MindMapFreeformLayoutEngine
Source§fn clone(&self) -> MindMapFreeformLayoutEngine
fn clone(&self) -> MindMapFreeformLayoutEngine
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 MindMapFreeformLayoutEngine
Source§impl Debug for MindMapFreeformLayoutEngine
impl Debug for MindMapFreeformLayoutEngine
Source§impl Default for MindMapFreeformLayoutEngine
impl Default for MindMapFreeformLayoutEngine
Source§fn default() -> MindMapFreeformLayoutEngine
fn default() -> MindMapFreeformLayoutEngine
Returns the “default value” for a type. Read more
Source§impl LayoutEngine for MindMapFreeformLayoutEngine
impl LayoutEngine for MindMapFreeformLayoutEngine
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 MindMapFreeformLayoutEngine
impl RefUnwindSafe for MindMapFreeformLayoutEngine
impl Send for MindMapFreeformLayoutEngine
impl Sync for MindMapFreeformLayoutEngine
impl Unpin for MindMapFreeformLayoutEngine
impl UnsafeUnpin for MindMapFreeformLayoutEngine
impl UnwindSafe for MindMapFreeformLayoutEngine
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