WelcomeBack 0.1.1

my first crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod apple;
mod orange;

pub use orange::Orange;
pub use apple::Apple;

pub trait  Fruits {
    fn intro(&self) {
        let name: String = self.name();
        println!("i am an {name}")
    }

    fn name(&self) -> String;
}