pub struct DragData {
pub mime: String,
pub bytes: Vec<u8>,
}Expand description
A typed payload carried during a drag.
Fields§
§mime: StringThe MIME type describing bytes (e.g. "text/plain").
bytes: Vec<u8>The raw payload bytes.
Implementations§
Trait Implementations§
impl Eq for DragData
impl StructuralPartialEq for DragData
Auto Trait Implementations§
impl Freeze for DragData
impl RefUnwindSafe for DragData
impl Send for DragData
impl Sync for DragData
impl Unpin for DragData
impl UnsafeUnpin for DragData
impl UnwindSafe for DragData
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