Struct dogear::Tree[][src]

pub struct Tree { /* fields omitted */ }

A complete, rooted bookmark tree with tombstones.

The tree stores bookmark nodes in a vector, and uses indices in the vector to identify parents and children. This makes traversal and lookup very efficient. Retrieving a node's parent takes one indexing operation, retrieving children takes one indexing operation per child, and retrieving a node by random GUID takes one hash map lookup and one indexing operation.

Methods

impl Tree
[src]

Constructs a new rooted tree.

Trait Implementations

impl Debug for Tree
[src]

Formats the value using the given formatter. Read more

impl Default for Tree
[src]

Returns the "default value" for a type. Read more

impl Display for Tree
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Tree

impl Sync for Tree