[−][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_threaded(&display); clipboard.store("seat0", "Test data"); println!("{}", clipboard.load("seat0"));
Structs
WaylandClipboard | Object representing the Wayland clipboard |