pub struct PathTree<T> {
    pub node: Node<usize>,
    /* private fields */
}
Expand description

A path tree.

Fields

node: Node<usize>

Implementations

Creates a new PathTree.

Inserts a part path-value to the tree and returns the id.

Returns the Path by the given path.

Gets the route by id.

Generates URL with the params.

Trait Implementations

Formats the value using the given formatter. Read more
Returns the “default value” for a type. 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 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.