pub struct KeyboardDropResult {
pub payload: DragPayload,
pub source_id: WidgetId,
pub target_id: WidgetId,
pub target_index: usize,
}Expand description
Result of a completed keyboard drag-and-drop operation.
Fields§
§payload: DragPayloadThe dropped payload.
source_id: WidgetIdSource widget ID.
target_id: WidgetIdTarget widget ID.
target_index: usizeTarget index in the targets list.
Trait Implementations§
Source§impl Clone for KeyboardDropResult
impl Clone for KeyboardDropResult
Source§fn clone(&self) -> KeyboardDropResult
fn clone(&self) -> KeyboardDropResult
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 moreAuto Trait Implementations§
impl Freeze for KeyboardDropResult
impl RefUnwindSafe for KeyboardDropResult
impl Send for KeyboardDropResult
impl Sync for KeyboardDropResult
impl Unpin for KeyboardDropResult
impl UnsafeUnpin for KeyboardDropResult
impl UnwindSafe for KeyboardDropResult
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