Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't compile #41

Open
Ploppz opened this issue Feb 12, 2019 · 0 comments
Open

Doesn't compile #41

Ploppz opened this issue Feb 12, 2019 · 0 comments

Comments

@Ploppz
Copy link

Ploppz commented Feb 12, 2019

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant