How do you use chart.draw_series() inside a function with iterable as parameter to draw_series? #351
-
I'm trying to do the following, call draw_series inside a function with a iterable as function parameter and as a argument to draw_series:
I have no idea how to make this bound apply to the
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I'm not sure how I'd have solved it without compiler hints suggesting
|
Beta Was this translation helpful? Give feedback.
I'm not sure how I'd have solved it without compiler hints suggesting
for<'b> &'b plotters::element::DynElement<'static, plotters::prelude::SVGBackend<'a>, Coord>: plotters::element::PointCollection<'b, (f32, f32)>
Solution: