You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let fill = FillStyle::Solid(Rgba::new(0.75,0.5,0.25,1.0));letmut d = CanvasMock::new();// Set Expectations
d.expect_set_fill().called_once().with(deref(fill.clone()));// Test
d.set_fill(&fill);
What would be awesome:
let fill = FillStyle::Solid(Rgba::new(0.75,0.5,0.25,1.0));letmut d = CanvasMock::new();// Set Expectations
d.expect_set_fill().called_once().with(&fill);// Test
d.set_fill(&fill);
I believe we can achieve this with lifetimes?
The text was updated successfully, but these errors were encountered:
Today:
What would be awesome:
I believe we can achieve this with lifetimes?
The text was updated successfully, but these errors were encountered: