Struct ux::Clipboard[][src]

pub struct Clipboard { /* fields omitted */ }

Implementations

impl Clipboard[src]

Trait Implementations

impl AsRef<Clipboard> for Clipboard[src]

impl Clone for Clipboard[src]

impl Debug for Clipboard[src]

impl Display for Clipboard[src]

impl Is<Clipboard> for Clipboard[src]

impl Object for Clipboard[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[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]

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<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<Fr, To> IntoColor<To> for Fr where
    To: FromColor<Fr>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,