pub struct MoveEvent {
pub raw_event: Object,
pub to: HtmlElement,
pub from: HtmlElement,
pub dragged: HtmlElement,
pub related: HtmlElement,
pub will_insert_after: bool,
}
Expand description
An event raised by one of the Sortable callbacks. See the official documentation for details about the fields.
raw_event
contains the raw JS event, should additional non-documented
fields be needed.
Fields§
§raw_event: Object
§to: HtmlElement
§from: HtmlElement
§dragged: HtmlElement
§will_insert_after: bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MoveEvent
impl RefUnwindSafe for MoveEvent
impl !Send for MoveEvent
impl !Sync for MoveEvent
impl Unpin for MoveEvent
impl UnwindSafe for MoveEvent
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