Trait GraphMaker

Source
pub trait GraphMaker {
    // Required methods
    fn get_buffer<'a>(&'a self) -> &'a String;
    fn clear_buffer(&mut self);
}
Expand description

Defines the trait used by Plot to add graph entities

Required Methods§

Source

fn get_buffer<'a>(&'a self) -> &'a String

Returns the text buffer with Python3 commands

Source

fn clear_buffer(&mut self)

Clear the text buffer with Python commands

Implementors§