INNER CODE UNIT · Rust
get_icon
pythops/bluetui · src/bluetooth.rs:43
pub fn get_icon(name: &str) -> &'static str {
match name {
"audio-card" => " ",
"audio-input-microphone" => " ",
"audio-headphones" | "audio-headset" => " ",
"battery" => " ",
"camera-photo" => " ",
"computer" => " ",
"input-keyboard" => " ",
"input-mouse" => " ",
"input-gaming" => " ",
"phone" => " ",
_ => " ",
}
}
}
impl Controller {