pub struct DragDataItem {
pub mime_type: String,
pub data: String,
}Expand description
Drag data item.
Fields§
§mime_type: StringMime type of the data.
data: StringDepending on the value of mime_type, it contains the drag data string or base64-encoded binary data.
Trait Implementations§
Source§impl Clone for DragDataItem
impl Clone for DragDataItem
Source§fn clone(&self) -> DragDataItem
fn clone(&self) -> DragDataItem
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 DragDataItem
impl Debug for DragDataItem
Auto Trait Implementations§
impl Freeze for DragDataItem
impl RefUnwindSafe for DragDataItem
impl Send for DragDataItem
impl Sync for DragDataItem
impl Unpin for DragDataItem
impl UnwindSafe for DragDataItem
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