CapSoftware / scap

High-performance, cross-platform screen capture library in Rust.
https://crates.io/crates/scap
Other
231 stars 44 forks source link

target parameter #114

Open m13v opened 3 months ago

m13v commented 3 months ago

What's the correct syntax to pass target parameter? I can't figure it out Foe example, can i request it like this: .... target: Some(Target::Window(scap::targets::Window { id: 132, title: "Discord".to_string(), raw_handle: 132, })), ....