Trait plot_interface::ChangerInterface
source · [−]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 Root: ChangerInterface
type Root: ChangerInterface
Type of root changer.
type Parent: ChangerInterface
type Parent: ChangerInterface
Type of parent changer.
Required Methods
Provided Methods
fn change_add<Change>(&mut self, change: Change) -> &mut Self where
Change: 'static + ChangeInterface,
fn change_add<Change>(&mut self, change: Change) -> &mut Self where
Change: 'static + ChangeInterface,
Add change.