#[repr(C)]pub struct SDL_ClipboardEvent {
pub type_: SDL_EventType,
pub reserved: Uint32,
pub timestamp: Uint64,
pub owner: bool,
pub num_mime_types: Sint32,
pub mime_types: *mut *const c_char,
}Expand description
An event triggered when the clipboard contents have changed (event.clipboard.*)
Available Since: This struct is available since SDL 3.2.0.
Fields§
§type_: SDL_EventType< SDL_EVENT_CLIPBOARD_UPDATE
reserved: Uint32§timestamp: Uint64< In nanoseconds, populated using SDL_GetTicksNS()
owner: bool< are we owning the clipboard (internal update)
num_mime_types: Sint32< number of mime types
mime_types: *mut *const c_char< current mime types
Trait Implementations§
Source§impl Clone for SDL_ClipboardEvent
impl Clone for SDL_ClipboardEvent
Source§fn clone(&self) -> SDL_ClipboardEvent
fn clone(&self) -> SDL_ClipboardEvent
Returns a duplicate 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 SDL_ClipboardEvent
impl Debug for SDL_ClipboardEvent
Source§impl Default for SDL_ClipboardEvent
impl Default for SDL_ClipboardEvent
Source§impl Hash for SDL_ClipboardEvent
impl Hash for SDL_ClipboardEvent
impl Copy for SDL_ClipboardEvent
Auto Trait Implementations§
impl Freeze for SDL_ClipboardEvent
impl RefUnwindSafe for SDL_ClipboardEvent
impl !Send for SDL_ClipboardEvent
impl !Sync for SDL_ClipboardEvent
impl Unpin for SDL_ClipboardEvent
impl UnsafeUnpin for SDL_ClipboardEvent
impl UnwindSafe for SDL_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