pub struct ActiveDomDrag {
pub source_path: Vec<usize>,
pub start_pos: (f32, f32),
pub started: bool,
pub last_over_path: Option<Vec<usize>>,
pub data_transfer: Rc<RefCell<HashMap<String, String>>>,
}Expand description
Active DOM drag-and-drop interaction state (ondragstart, ondrag, ondragenter, ondragover, ondragleave, ondrop, ondragend).
Fields§
§source_path: Vec<usize>§start_pos: (f32, f32)§started: bool§last_over_path: Option<Vec<usize>>§data_transfer: Rc<RefCell<HashMap<String, String>>>Trait Implementations§
Source§impl Clone for ActiveDomDrag
impl Clone for ActiveDomDrag
Auto Trait Implementations§
impl !RefUnwindSafe for ActiveDomDrag
impl !Send for ActiveDomDrag
impl !Sync for ActiveDomDrag
impl !UnwindSafe for ActiveDomDrag
impl Forget for ActiveDomDrag
impl Freeze for ActiveDomDrag
impl Move for ActiveDomDrag
impl Unpin for ActiveDomDrag
impl UnsafeUnpin for ActiveDomDrag
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