MCPcopy Create free account
hub / github.com/algoscienceacademy/RustUI / last_color

Method last_color

src/renderer/mock.rs:16–18  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

14 }
15
16 pub fn last_color(&self) -> Color {
17 self.last_color.unwrap_or(Color::rgb(0.0, 0.0, 0.0))
18 }
19}
20
21impl super::Renderer for MockRenderer {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected