[][src]Trait evc::OperationCache

pub trait OperationCache {
    type Operation: Clone;
    fn apply_operation(&mut self, operations: Self::Operation);
}

Represents anything that can be mutated using operations. This trait has to be implemented in order to store it in an evc.

Associated Types

type Operation: Clone

The operation this type uses for modifying itself.

Loading content...

Required methods

fn apply_operation(&mut self, operations: Self::Operation)

Apply an operation to self.

Loading content...

Implementors

Loading content...