penumbra_tct::internal::height

Trait Height

Source
pub trait Height {
    type Height: Path;
}
Available on crate feature internal only.
Expand description

Trait identifying the statically-known height of a given tree element.

This is used to differentiate the hashes at each level of the tree.

Required Associated Types§

Source

type Height: Path

The height of this type above the leaves of the tree.

Implementors§

Source§

impl Height for penumbra_tct::internal::complete::Item

Source§

impl Height for penumbra_tct::internal::frontier::Item

Source§

impl<Child: Focus> Height for penumbra_tct::internal::frontier::Node<Child>

Source§

type Height = Succ<<Child as Height>::Height>

Source§

impl<Child: Height + Clone> Height for penumbra_tct::internal::complete::Node<Child>

Source§

type Height = Succ<<Child as Height>::Height>

Source§

impl<Item: Focus + Clone> Height for penumbra_tct::internal::frontier::Tier<Item>
where Item::Complete: Clone,

Source§

impl<Item: Focus + Clone> Height for penumbra_tct::internal::frontier::Top<Item>
where Item::Complete: Clone,

Source§

impl<Item: GetHash + Height + Clone> Height for penumbra_tct::internal::complete::Tier<Item>

Source§

impl<Item: GetHash + Height + Clone> Height for penumbra_tct::internal::complete::Top<Item>

Source§

impl<Item: Height> Height for penumbra_tct::internal::complete::Leaf<Item>

Source§

type Height = <Item as Height>::Height

Source§

impl<Item: Height> Height for penumbra_tct::internal::frontier::Leaf<Item>

Source§

type Height = <Item as Height>::Height

Source§

impl<T: Height> Height for Insert<T>