use std::fmt;
fn main() {
struct Knight {
skill_1: String,
skill_2: String,
skill_3: String,
skill_4: String,
skill_5: String,
}
impl fmt::Display for Knight {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "Knight's skills are: {}, {}, {}, {}, {}", self.skill_1, self.skill_2, self.skill_3, self.skill_4, self.skill_5)
}
}
let knight_skills = Knight {
skill_1: String::from("Bash"),
skill_2: String::from("Rust"),
skill_3: String::from("Kernel Development"),
skill_4: String::from("Git"),
skill_5: String::from("Linux"),
};
println!("{}", knight_skills);
}
I mostly use github for my android kernel development.
Founder of @NetErnels
Lead kernel dev in @Team-420
A dev in @Intellivoid
A maintainer in PixelOS, Paranoid Android and YAAP
Checkout my gitlab profile for more of my own projects (although I am starting to move to GitHub for more personal projects now).
My site should have more information regarding me.