iced_core::clipboard

Function peek_dnd

source
pub fn peek_dnd<T: AllowedMimeTypes>(
    clipboard: &mut dyn Clipboard,
    mime: Option<String>,
) -> Option<T>
Expand description

Reads the current content of the primary Clipboard.