[][src]Struct guppy::graph::DotWrite

pub struct DotWrite<'a, 'b> { /* fields omitted */ }

A write target for Dot graphs. Use with the write! macro.

Methods

impl<'a, 'b> DotWrite<'a, 'b>[src]

pub fn set_escape_backslashes(&mut self, escape_backslashes: bool)[src]

Sets a config option for whether backslashes should be escaped. Defaults to true.

This can be set to false if the visitor knows to output graphviz control characters.

pub fn write_fmt(&mut self, args: Arguments) -> Result[src]

Glue for usage of the write! macro.

This method should generally not be invoked manually, but rather through write! or similar macros (println!, format! etc).

Defining this inherent method allows write! to work without callers needing to import the std::fmt::Write trait.

Trait Implementations

impl<'a, 'b> Write for DotWrite<'a, 'b>[src]

Auto Trait Implementations

impl<'a, 'b> !Send for DotWrite<'a, 'b>

impl<'a, 'b> !Sync for DotWrite<'a, 'b>

impl<'a, 'b> Unpin for DotWrite<'a, 'b> where
    'b: 'a, 

impl<'a, 'b> !UnwindSafe for DotWrite<'a, 'b>

impl<'a, 'b> !RefUnwindSafe for DotWrite<'a, 'b>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]