logo
pub trait ChangerInterface: Debug + Clone {
    type Root: ChangerInterface;
    type Parent: ChangerInterface;

    fn context(self) -> Self::Root;
    fn parent(&mut self) -> &mut Self::Parent;
    fn end(self) -> Self::Parent;

    fn root(&mut self) -> &mut Self::Root { ... }
    fn change_add<Change>(&mut self, change: Change) -> &mut Self
    where
        Change: 'static + ChangeInterface
, { ... } }
Expand description

Context.

Required Associated Types

Type of root changer.

Type of parent changer.

Required Methods

Get back to root changer.

Get parent.

Get back to parent changer.

Provided Methods

Get root.

Add change.

Implementors