NodeCollection

Trait NodeCollection 

Source
pub trait NodeCollection {
    // Required methods
    fn max_entry_height(self) -> i64;
    fn max_height(self) -> i64;
    fn max_height_below_entry(self) -> i64;
    fn max_width(self) -> i64;
    fn total_width(self) -> i64;
    fn total_height(self) -> i64;
}
Expand description

Helper trait for collections of nodes.

Required Methods§

Source

fn max_entry_height(self) -> i64

The maximum entry_height()-value.

Source

fn max_height(self) -> i64

The maximum height()-value.

Source

fn max_height_below_entry(self) -> i64

The maximum height_below_entry()-value.

Source

fn max_width(self) -> i64

The maximum width()-value.

Source

fn total_width(self) -> i64

The sum of all width()-values.

Source

fn total_height(self) -> i64

The sum of all height()-values.

Implementors§

Source§

impl<I, N> NodeCollection for I
where I: IntoIterator<Item = N>, N: Node,