Trait penumbra_tct::internal::interface::Focus

source ·
pub trait Focus: Height<Height = <Self::Complete as Height>::Height> + GetHash {
    type Complete: Complete<Focus = Self>;

    // Required method
    fn finalize_owned(self) -> Insert<Self::Complete>;
}
Available on crate feature internal only.
Expand description

A type which can be the focus of an Frontier tree: it can be finalized to make a Complete tree.

Required Associated Types§

source

type Complete: Complete<Focus = Self>

The Complete of this Frontier.

Required Methods§

source

fn finalize_owned(self) -> Insert<Self::Complete>

Transition from an Frontier to being Complete.

Implementors§

source§

impl Focus for Item

source§

impl<Child: Focus + Clone> Focus for Node<Child>
where Child::Complete: Clone,

§

type Complete = Node<<Child as Focus>::Complete>

source§

impl<Item: Focus + Clone> Focus for Tier<Item>
where Item::Complete: Clone,

§

type Complete = Tier<<Item as Focus>::Complete>

source§

impl<Item: Focus> Focus for Leaf<Item>

§

type Complete = Leaf<<Item as Focus>::Complete>