Gust
Gust copied to clipboard
Doesn't compile
I get several of these errors when I try to compile:
error[E0046]: not all trait items implemented, missing: `set_color`, `set_dimensions`, `get_dimensions`, `set_description`, `set_identifier`
--> src/backend/stacked_bar_chart.rs:109:1
|
109 | impl Graphable for StackedBarChart {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `set_color`, `set_dimensions`, `get_dimensions`, `set_description`, `set_identifier` in implementation
|
::: src/backend/traits.rs:16:5
|
16 | fn set_color(&mut self, &str);
| ------------------------------ `set_color` from trait
17 | // set_dimensions
18 | fn set_dimensions(&mut self, (i32, i32));
| ----------------------------------------- `set_dimensions` from trait
19 |
20 | fn get_dimensions(&self) -> (i32, i32);
| --------------------------------------- `get_dimensions` from trait
21 |
22 | fn set_description(&mut self, &str);
| ------------------------------------ `set_description` from trait
23 |
24 | fn set_identifier(&mut self, &str);
| ----------------------------------- `set_identifier` from trait