Trait Storage

Source
pub trait Storage {
    // Required methods
    fn get_objects(&self) -> Vec<Object>;
    fn add_object(&self, object: Object);
    fn change_object(&self, object: Object);
    fn remove_object(&self, object: Object);
}

Required Methods§

Source

fn get_objects(&self) -> Vec<Object>

Source

fn add_object(&self, object: Object)

Source

fn change_object(&self, object: Object)

Source

fn remove_object(&self, object: Object)

Implementors§