MCPcopy Create free account
hub / github.com/Apress/beginning-rust-2e / draw

Method draw

Source Code/20-22.rs:21–23  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

19 }
20 impl Draw for Text {
21 fn draw(&self) {
22 print!("{}", self.characters);
23 }
24 }
25 struct BoxedText {
26 text: Text,

Callers 1

draw_textFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected