Struct ux::Clipboard [−][src]
pub struct Clipboard { /* fields omitted */ }
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Clipboard
impl !RefUnwindSafe for Clipboard
impl UnwindSafe for Clipboard
impl UnwindSafe for Clipboard
Blanket Implementations
impl<O> ClipboardExt for O where
O: Is<Clipboard>,
[src]
impl<O> ClipboardExt for O where
O: Is<Clipboard>,
[src]pub fn get_text<P>(&self, callback: P) where
P: 'static + FnOnce(&Clipboard, &str),
[src]
P: 'static + FnOnce(&Clipboard, &str),
get_text: @clipboard: A #Clipboard @callback: (scope async): function to be called when the text is retreived @user_data: data to be passed to the callback
Request the data from the clipboard in text form. @callback is executed when the data is retreived.
pub fn set_text(&self, text: Option<String>)
[src]
set_text: @clipboard: A #Clipboard @text: text to copy to the clipboard
Sets text as the current contents of the clipboard.
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,