[][src]Trait xi_rope::tree::DefaultMetric

pub trait DefaultMetric: NodeInfo {
    type DefaultMetric: Metric<Self>;
}

A trait indicating the default metric of a NodeInfo.

Adds quality of life functions to Node<N>, where N is a DefaultMetric. For example, Node<DefaultMetric>.count.

Associated Types

type DefaultMetric: Metric<Self>

Loading content...

Implementors

impl DefaultMetric for BreaksInfo[src]

impl DefaultMetric for RopeInfo[src]

Loading content...