[][src]Struct winapi_easy::clipboard::Clipboard

pub struct Clipboard(_);

Methods

impl Clipboard[src]

An opened Windows clipboard. Will be closed again when dropped.

pub fn new() -> Result<Clipboard>[src]

pub fn get_file_list(&self) -> Result<Vec<PathBuf>>[src]

Returns a list of file paths that have been copied to the clipboard.

Will return Err if the clipboard cannot be accessed or does not contain files.

Trait Implementations

impl Drop for Clipboard[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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