Trait foldermainaric::Animal[][src]

pub trait Animal {
    fn animal_type(&self) -> &str;
fn noise(&self) -> &str; }

Required methods

fn animal_type(&self) -> &str[src]

fn noise(&self) -> &str[src]

Loading content...

Implementors

impl Animal for Cat[src]

impl Animal for Dog[src]

Loading content...