pub fn get_all() -> impl Iterator<Item = OutputHandle>
Expand description
Gets handles to all currently plugged-in outputs.
ยงExamples
for output in output::get_all() {
println!("{} {} {}", output.make(), output.model(), output.serial());
}
pub fn get_all() -> impl Iterator<Item = OutputHandle>
Gets handles to all currently plugged-in outputs.
for output in output::get_all() {
println!("{} {} {}", output.make(), output.model(), output.serial());
}