Struct guppy::graph::DotWrite

source ·
pub struct DotWrite<'a, 'b> { /* private fields */ }
Expand description

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

Implementations§

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.

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§

Writes a string slice into this writer, returning whether the write succeeded. Read more
Writes a char into this writer, returning whether the write succeeded. Read more
Glue for usage of the write! macro with implementors of this trait. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.