Struct clipboard2::win::WindowsClipboard [−][src]
pub struct WindowsClipboard {}
Trait Implementations
impl Clipboard for WindowsClipboard
[src]
impl Clipboard for WindowsClipboard
type Output = Self
fn new() -> Result<Self::Output, ClipboardError>
[src]
fn new() -> Result<Self::Output, ClipboardError>
fn get_contents(
&self
) -> Result<(Vec<u8>, ClipboardContentType), ClipboardError>
[src]
fn get_contents(
&self
) -> Result<(Vec<u8>, ClipboardContentType), ClipboardError>
fn get_string_contents(&self) -> Result<String, ClipboardError>
[src]
fn get_string_contents(&self) -> Result<String, ClipboardError>
fn set_contents(
&self,
contents: Vec<u8>,
format: ClipboardContentType
) -> Result<(), ClipboardError>
[src]
fn set_contents(
&self,
contents: Vec<u8>,
format: ClipboardContentType
) -> Result<(), ClipboardError>
fn set_string_contents(&self, contents: String) -> Result<(), ClipboardError>
[src]
fn set_string_contents(&self, contents: String) -> Result<(), ClipboardError>
Auto Trait Implementations
impl Send for WindowsClipboard
impl Send for WindowsClipboard
impl Sync for WindowsClipboard
impl Sync for WindowsClipboard