pub struct NativeDragEvent { /* private fields */ }Expand description
Data associated with a drag event.
Captures the drag position and available data transfer types.
Implementations§
Source§impl NativeDragEvent
Implementation of NativeDragEvent construction.
impl NativeDragEvent
Implementation of NativeDragEvent construction.
Source§impl NativeDragEvent
impl NativeDragEvent
pub fn get_client_x(&self) -> &i32
pub fn get_mut_client_x(&mut self) -> &mut i32
pub fn set_client_x(&mut self, val: i32) -> &mut Self
pub fn get_client_y(&self) -> &i32
pub fn get_mut_client_y(&mut self) -> &mut i32
pub fn set_client_y(&mut self, val: i32) -> &mut Self
pub fn get_types(&self) -> &Vec<String>
pub fn get_mut_types(&mut self) -> &mut Vec<String>
pub fn set_types(&mut self, val: Vec<String>) -> &mut Self
Trait Implementations§
Source§impl Clone for NativeDragEvent
impl Clone for NativeDragEvent
Source§fn clone(&self) -> NativeDragEvent
fn clone(&self) -> NativeDragEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NativeDragEvent
impl Debug for NativeDragEvent
Source§impl Default for NativeDragEvent
impl Default for NativeDragEvent
Source§fn default() -> NativeDragEvent
fn default() -> NativeDragEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for NativeDragEvent
impl PartialEq for NativeDragEvent
Source§fn eq(&self, other: &NativeDragEvent) -> bool
fn eq(&self, other: &NativeDragEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for NativeDragEvent
impl StructuralPartialEq for NativeDragEvent
Auto Trait Implementations§
impl Freeze for NativeDragEvent
impl RefUnwindSafe for NativeDragEvent
impl Send for NativeDragEvent
impl Sync for NativeDragEvent
impl Unpin for NativeDragEvent
impl UnsafeUnpin for NativeDragEvent
impl UnwindSafe for NativeDragEvent
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