pub struct GraphLayout<Id> { /* private fields */ }Implementations§
Source§impl<Id> GraphLayout<Id>
impl<Id> GraphLayout<Id>
pub fn layout<'a, T>(&mut self, nodes: &'a [T]) -> Vec<RowPlan<'a, T>>where
T: GraphNode<Id = Id>,
pub fn layout_with<'a, T, Emit>(&mut self, nodes: &'a [T], emit: Emit)
pub fn layout_steps<'a, T>(&mut self, nodes: &'a [T]) -> Vec<StepDetails<'a, T>>where
T: GraphNode<Id = Id>,
pub fn layout_with_steps<'a, T, Emit>(&mut self, nodes: &'a [T], emit: Emit)
Trait Implementations§
Source§impl<Id: Clone> Clone for GraphLayout<Id>
impl<Id: Clone> Clone for GraphLayout<Id>
Source§fn clone(&self) -> GraphLayout<Id>
fn clone(&self) -> GraphLayout<Id>
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<Id: Debug> Debug for GraphLayout<Id>
impl<Id: Debug> Debug for GraphLayout<Id>
Auto Trait Implementations§
impl<Id> Freeze for GraphLayout<Id>
impl<Id> RefUnwindSafe for GraphLayout<Id>where
Id: RefUnwindSafe,
impl<Id> Send for GraphLayout<Id>where
Id: Send,
impl<Id> Sync for GraphLayout<Id>where
Id: Sync,
impl<Id> Unpin for GraphLayout<Id>where
Id: Unpin,
impl<Id> UnsafeUnpin for GraphLayout<Id>
impl<Id> UnwindSafe for GraphLayout<Id>where
Id: UnwindSafe,
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