pub trait Updatable<U> {
    // Required method
    fn update(&mut self, arg: U);
}
Expand description

An object that can be updated by calling self.update(arg)

Required Methods§

source

fn update(&mut self, arg: U)

Implementors§

source§

impl<Data, U> Updatable<U> for Versioned<Data>where Data: Clone, U: Update<Data>,

If U is an Update, i.e. U.apply(Versioned<Data>), then install a method update() to Versioned<Data>: Versioned<Data>.update(U).