pub enum GraphRoots {
Single(Node),
Many(Vec<Node>),
}Expand description
Input accepted by Graph::render(...).
Variants§
Trait Implementations§
Source§impl Clone for GraphRoots
impl Clone for GraphRoots
Source§fn clone(&self) -> GraphRoots
fn clone(&self) -> GraphRoots
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 GraphRoots
impl Debug for GraphRoots
Source§impl From<Node> for GraphRoots
impl From<Node> for GraphRoots
Auto Trait Implementations§
impl Freeze for GraphRoots
impl RefUnwindSafe for GraphRoots
impl Send for GraphRoots
impl Sync for GraphRoots
impl Unpin for GraphRoots
impl UnwindSafe for GraphRoots
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