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

Class MockRenderer

src/renderer/mock.rs:3–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1use crate::style::{Style, Color};
2
3pub struct MockRenderer {
4 pub(crate) last_color: Option<Color>,
5 pub(crate) last_text: Option<String>,
6}
7
8impl MockRenderer {
9 pub fn new() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected