Struct ambient_api_core::core::input::messages::ClipboardGet
source · pub struct ClipboardGet {
pub contents: Option<String>,
}
Expand description
ClipboardGet: Sent to a package that has requested the clipboard contents.
Fields§
§contents: Option<String>
Implementations§
Trait Implementations§
source§impl Clone for ClipboardGet
impl Clone for ClipboardGet
source§fn clone(&self) -> ClipboardGet
fn clone(&self) -> ClipboardGet
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ClipboardGet
impl Debug for ClipboardGet
source§impl RuntimeMessage for ClipboardGet
impl RuntimeMessage for ClipboardGet
source§fn subscribe<R: CallbackReturn>(
callback: impl FnMut(Self) -> R + 'static
) -> Listener
fn subscribe<R: CallbackReturn>( callback: impl FnMut(Self) -> R + 'static ) -> Listener
Subscribes to this Message. Wrapper around self::subscribe.
impl Message for ClipboardGet
Auto Trait Implementations§
impl RefUnwindSafe for ClipboardGet
impl Send for ClipboardGet
impl Sync for ClipboardGet
impl Unpin for ClipboardGet
impl UnwindSafe for ClipboardGet
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