Function wl_clipboard_rs::utils::is_text
source · pub fn is_text(mime_type: &str) -> bool
Expand description
Checks if the given MIME type represents plain text.
§Examples
use wl_clipboard_rs::utils::is_text;
assert!(is_text("text/plain"));
assert!(!is_text("application/octet-stream"));