[][src]Trait rt_graph::DataSource

pub trait DataSource: Debug + Send {
    fn get_data(&mut self) -> Result<Vec<Point>>;
fn get_num_values(&self) -> Result<usize>; fn get_colors(&self) -> Result<Vec<Color>> { ... } }

Required methods

fn get_data(&mut self) -> Result<Vec<Point>>

fn get_num_values(&self) -> Result<usize>

Loading content...

Provided methods

fn get_colors(&self) -> Result<Vec<Color>>

Loading content...

Implementors

impl DataSource for TestDataGenerator[src]

Loading content...