Skip to main content

StagedTreeLikeMut

Trait StagedTreeLikeMut 

Source
pub trait StagedTreeLikeMut<Base, Staged>: StagedTreeLike<Base = Base, Staged = Staged> + TreeLikeMut
where Base: TreeLike<F = Self::F>, Staged: TreeLikeMut<F = Self::F>,
{ // Required method fn staged_mut(&mut self) -> &mut Self::Staged; // Provided methods fn prune(&mut self) -> LbResult<()> { ... } fn pruned(self) -> LbResult<Self> { ... } }

Required Methods§

Source

fn staged_mut(&mut self) -> &mut Self::Staged

Provided Methods§

Source

fn prune(&mut self) -> LbResult<()>

Source

fn pruned(self) -> LbResult<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<Base, Staged, T> StagedTreeLikeMut<Base, Staged> for &mut T
where Base: TreeLike<F = T::F>, Staged: TreeLikeMut<F = T::F>, T: StagedTreeLikeMut<Base, Staged>,

Source§

fn staged_mut(&mut self) -> &mut Self::Staged

Implementors§

Source§

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