pub enum GraphFormat {
Dot,
Mermaid,
}Expand description
The output format for DisplayAsGraph.
Variants§
Dot
Graphviz DOT format, renderable with dot -Tsvg or similar tools.
Mermaid
Mermaid diagram format, renderable in Markdown or the Mermaid live editor.
Trait Implementations§
Source§impl Clone for GraphFormat
impl Clone for GraphFormat
Source§fn clone(&self) -> GraphFormat
fn clone(&self) -> GraphFormat
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 moreSource§impl Debug for GraphFormat
impl Debug for GraphFormat
Source§impl PartialEq for GraphFormat
impl PartialEq for GraphFormat
Source§fn eq(&self, other: &GraphFormat) -> bool
fn eq(&self, other: &GraphFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GraphFormat
impl Eq for GraphFormat
impl StructuralPartialEq for GraphFormat
Auto Trait Implementations§
impl Freeze for GraphFormat
impl RefUnwindSafe for GraphFormat
impl Send for GraphFormat
impl Sync for GraphFormat
impl Unpin for GraphFormat
impl UnsafeUnpin for GraphFormat
impl UnwindSafe for GraphFormat
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