Struct synctree::node_arena::NodeArena[][src]

pub struct NodeArena<T> { /* fields omitted */ }

A reference-counted Arena of tree nodes.

You are free to clone it as much as you want.

Methods

impl<T> NodeArena<T>
[src]

Creates a new, empty NodeArena.

Creates a new NodeArena with specified capacity.

Consumes the NodeArena, returning the inner Arena.

Panics

Panics if the NodeArena has more than one strong reference.

Returns true if the NodeArena points to the same inner arena as the other one.

Returns a handle to inner Arena.

Returns a mutable handle to inner Arena.

Trait Implementations

impl<T: Debug> Debug for NodeArena<T>
[src]

Formats the value using the given formatter. Read more

impl<T> Clone for NodeArena<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<T> Send for NodeArena<T> where
    T: Send + Sync

impl<T> Sync for NodeArena<T> where
    T: Send + Sync