pub struct GraphvizBuilder { /* private fields */ }Implementations§
source§impl GraphvizBuilder
impl GraphvizBuilder
pub fn next_id(&mut self) -> usize
pub fn start_graph(&mut self, f: &mut Formatter<'_>) -> Result<(), Error>
pub fn end_graph(&mut self, f: &mut Formatter<'_>) -> Result<(), Error>
pub fn start_cluster( &mut self, f: &mut Formatter<'_>, title: &str, ) -> Result<(), Error>
pub fn end_cluster(&mut self, f: &mut Formatter<'_>) -> Result<(), Error>
sourcepub fn quoted(label: &str) -> String
pub fn quoted(label: &str) -> String
makes a quoted string suitable for inclusion in a graphviz chart
pub fn add_node( &self, f: &mut Formatter<'_>, id: usize, label: &str, tooltip: Option<&str>, ) -> Result<(), Error>
pub fn add_edge( &self, f: &mut Formatter<'_>, from_id: usize, to_id: usize, ) -> Result<(), Error>
Trait Implementations§
source§impl Default for GraphvizBuilder
impl Default for GraphvizBuilder
source§fn default() -> GraphvizBuilder
fn default() -> GraphvizBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GraphvizBuilder
impl RefUnwindSafe for GraphvizBuilder
impl Send for GraphvizBuilder
impl Sync for GraphvizBuilder
impl Unpin for GraphvizBuilder
impl UnwindSafe for GraphvizBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more