pub struct DropTarget {
pub surface_id: u32,
pub accepted_mimes: Vec<ClipboardMime>,
pub x: i32,
pub y: i32,
pub width: u32,
pub height: u32,
}Expand description
Information about a drop target.
Fields§
§surface_id: u32Surface ID that can receive drops.
accepted_mimes: Vec<ClipboardMime>MIME types accepted by this target.
x: i32Bounding box (x, y, width, height).
y: i32§width: u32§height: u32Implementations§
Source§impl DropTarget
impl DropTarget
Trait Implementations§
Source§impl Clone for DropTarget
impl Clone for DropTarget
Source§fn clone(&self) -> DropTarget
fn clone(&self) -> DropTarget
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DropTarget
impl Debug for DropTarget
Source§impl PartialEq for DropTarget
impl PartialEq for DropTarget
impl Eq for DropTarget
impl StructuralPartialEq for DropTarget
Auto Trait Implementations§
impl Freeze for DropTarget
impl RefUnwindSafe for DropTarget
impl Send for DropTarget
impl Sync for DropTarget
impl Unpin for DropTarget
impl UnwindSafe for DropTarget
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)