[][src]Trait show_notes::e023::Eatable

pub trait Eatable {
    fn prepare(&self) -> String;

    fn eat(&self) -> String { ... }
}

A trait, to be implemented by types like Breakfast.

Required methods

fn prepare(&self) -> String

The stuff to do before you eat things. (No implementation!)

Loading content...

Provided methods

fn eat(&self) -> String

How to eat things. (Has a default implementation.)

Loading content...

Implementations on Foreign Types

impl Eatable for Regex[src]

Loading content...

Implementors

impl Eatable for Breakfast[src]

impl Eatable for MoarBreakfast[src]

Loading content...