Trait acacia::traits::Node [] [src]

pub trait Node {
    type Partition;
    type Object;
    type Container;
    fn state(&self) -> NodeState<&Self::Object, &Self::Container>;
    fn partition(&self) -> Self::Partition;
}

A tree node

This is part of the essential features of a tree. Note that both a whole tree and its constituents implement this.

Associated Types

Type of spatial partitioning scheme

The type of object stored

Type of container used to store subnodes

Required Methods

The state of the node

The partitioning scheme

Implementors