Sign in
android
/
toolchain
/
rustc
/
15a6560abe9880705f51d219c1fa94f880dbaf35
/
.
/
src
/
doc
/
book
/
listings
/
ch17-oop
/
listing-17-04
/
src
/
lib.rs
blob: 0c45e2a624fdb117b42686de1a7359b441b0a2b8 [
file
] [
log
] [
blame
]
pub
trait
Draw
{
fn
draw
(&
self
);
}
// ANCHOR: here
pub
struct
Screen
{
pub
components
:
Vec
<
Box
<
dyn
Draw
>>,
}
// ANCHOR_END: here