Struct orbclient::event::ClipboardEvent
source · pub struct ClipboardEvent {
pub kind: u8,
pub size: usize,
}
Expand description
A clipboard event
Fields§
§kind: u8
§size: usize
Implementations§
source§impl ClipboardEvent
impl ClipboardEvent
pub fn to_event(&self) -> Event
pub fn from_event(event: Event) -> ClipboardEvent
Trait Implementations§
source§impl Clone for ClipboardEvent
impl Clone for ClipboardEvent
source§fn clone(&self) -> ClipboardEvent
fn clone(&self) -> ClipboardEvent
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 ClipboardEvent
impl Debug for ClipboardEvent
impl Copy for ClipboardEvent
Auto Trait Implementations§
impl RefUnwindSafe for ClipboardEvent
impl Send for ClipboardEvent
impl Sync for ClipboardEvent
impl Unpin for ClipboardEvent
impl UnwindSafe for ClipboardEvent
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