[][src]Crate smithay_clipboard

Smithay Clipboard

Provides access to the wayland clipboard with only requirement being a WlDisplay object

let (display, _) =
Display::connect_to_env().expect("Failed to connect to the wayland server.");
let mut clipboard = smithay_clipboard::WaylandClipboard::new(&display);
clipboard.store(None, "Test data");
println!("{}", clipboard.load(None));

Structs

ThreadedClipboard

Object representing the Wayland clipboard

WaylandClipboard

Object representing the Wayland clipboard