Trait Animal
foldermainaric
pub trait Animal { fn animal_type(&self) -> &str; fn noise(&self) -> &str; }
fn animal_type(&self) -> &str
fn noise(&self) -> &str
impl Animal for Cat
impl Animal for Dog