Trait StagedTreeLike

Source
pub trait StagedTreeLike: TreeLike {
    type Base: TreeLike<F = Self::F>;
    type Staged: TreeLike<F = Self::F>;

    // Required methods
    fn base(&self) -> &Self::Base;
    fn staged(&self) -> &Self::Staged;
}

Required Associated Types§

Source

type Base: TreeLike<F = Self::F>

Source

type Staged: TreeLike<F = Self::F>

Required Methods§

Source

fn base(&self) -> &Self::Base

Source

fn staged(&self) -> &Self::Staged

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<Base, Staged> StagedTreeLike for StagedTree<Base, Staged>
where Base: TreeLike, Staged: TreeLike<F = Base::F>,

Source§

type Base = Base

Source§

type Staged = Staged