[−][src]Function wl_clipboard_rs::utils::is_text
pub fn is_text(mime_type: &str) -> bool
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"));