Trait AsMimeTypes
pub trait AsMimeTypes {
// Required methods
fn available(&self) -> Cow<'static, [String]>;
fn as_bytes(&self, mime_type: &str) -> Option<Cow<'static, [u8]>>;
}Expand description
Can be converted to data with the available mime types.
Required Methods§
Implementors§
impl AsMimeTypes for TextInputString
Available on crate feature
wayland and Linux only.