Trait show_notes::e023::Eatable
source · pub trait Eatable {
// Required method
fn prepare(&self) -> String;
// Provided method
fn eat(&self) -> String { ... }
}
Expand description
A trait, to be implemented by types like Breakfast
.