Function get_all

Source
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());
}