pub struct Embedder<T>where
    T: Visualize,
{ /* private fields */ }
Expand description

The Embedder type provides a single public method embed to arrange nodes of a tree into the plane.

Implementations

This method creates an embedding of the nodes of the given tree in the plane.

Panics

The method should not panic. If you encounter a panic this should be originated from bugs in coding. Please report such panics.

Complexity

The algorithm is of time complexity class O(n).

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 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.