pub struct DragData {
pub items: Vec<DragDataItem>,
pub files: Option<Vec<String>>,
pub drag_operations_mask: i64,
}Fields§
§items: Vec<DragDataItem>§files: Option<Vec<String>>List of filenames that should be included when dropping
drag_operations_mask: i64Bit field representing allowed drag operations. Copy = 1, Link = 2, Move = 16
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DragData
impl<'de> Deserialize<'de> for DragData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 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