pub struct ClipboardImpl { /* private fields */ }Expand description
The clipboard of the page: the asynchronous Clipboard API, and the “paste” event in browsers without it.
Implementations§
Source§impl ClipboardImpl
impl ClipboardImpl
Trait Implementations§
Source§impl Default for ClipboardImpl
impl Default for ClipboardImpl
Source§impl IClipboardImpl for ClipboardImpl
impl IClipboardImpl for ClipboardImpl
Source§fn try_get_data_async(
&self,
) -> LocalBoxFuture<Result<Option<Rc<dyn IAsyncDataTransfer>>, ClipboardError>>
fn try_get_data_async( &self, ) -> LocalBoxFuture<Result<Option<Rc<dyn IAsyncDataTransfer>>, ClipboardError>>
Tries to get the data on the clipboard, if any.
Source§fn set_data_async(
&self,
data_transfer: Rc<dyn IAsyncDataTransfer>,
) -> LocalBoxFuture<Result<(), ClipboardError>>
fn set_data_async( &self, data_transfer: Rc<dyn IAsyncDataTransfer>, ) -> LocalBoxFuture<Result<(), ClipboardError>>
Sets the data on the clipboard.
Source§fn clear_async(&self) -> LocalBoxFuture<Result<(), ClipboardError>>
fn clear_async(&self) -> LocalBoxFuture<Result<(), ClipboardError>>
Clears the clipboard.
Source§fn as_flushable_clipboard_impl(&self) -> Option<&dyn IFlushableClipboardImpl>
fn as_flushable_clipboard_impl(&self) -> Option<&dyn IFlushableClipboardImpl>
The implementation as a flushable clipboard, if it is one.
Source§fn as_owned_clipboard_impl(&self) -> Option<&dyn IOwnedClipboardImpl>
fn as_owned_clipboard_impl(&self) -> Option<&dyn IOwnedClipboardImpl>
The implementation as an owned clipboard, if it is one.
Auto Trait Implementations§
impl !RefUnwindSafe for ClipboardImpl
impl !Send for ClipboardImpl
impl !Sync for ClipboardImpl
impl !UnwindSafe for ClipboardImpl
impl Freeze for ClipboardImpl
impl Unpin for ClipboardImpl
impl UnsafeUnpin for ClipboardImpl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more