penumbra_tct::internal::complete

Trait Complete

Source
pub trait Complete: Height + GetHash {
    type Focus: Focus<Complete = Self>;
}
Available on crate feature internal only.
Expand description

Marker trait for a type which is the frozen completion of some Focused insertion point.

It is enforced by the type system that Complete and Focus are dual to one another.

Required Associated Types§

Source

type Focus: Focus<Complete = Self>

The corresponding Focus of this Complete (i.e. the type which will become this type when it is finalize_owned).

Implementors§

Source§

impl Complete for Item

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<Item: Complete> Complete for Leaf<Item>

Source§

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