[−][src]Function wl_clipboard_rs::copy::clear
pub fn clear(clipboard: ClipboardType, seat: Seat) -> Result<(), Error>
Clears the clipboard for the given seat.
If seat
is None
, clears clipboards of all existing seats.
Examples
use wl_clipboard_rs::{copy::{clear, ClipboardType, Seat}}; clear(ClipboardType::Regular, Seat::All)?;