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

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

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

Implementations

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> !RefUnwindSafe for DotWrite<'a, 'b>[src]

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

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

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

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

Blanket Implementations

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

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

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

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> SafeBorrow<T> for T where
    T: ?Sized
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,