pub struct DragPreview {
pub session_id: DragSessionId,
pub scope_id: DragScopeId,
pub pointer_id: u64,
pub source: WidgetId,
pub position: Point,
pub start_position: Point,
pub payload: DragPayload,
pub allowed_effect: DropEffect,
pub allowed_effects: DropEffects,
pub preview_label: Option<Arc<str>>,
}Fields§
§session_id: DragSessionId§scope_id: DragScopeId§pointer_id: u64§source: WidgetId§position: Point§start_position: Point§payload: DragPayload§allowed_effect: DropEffect§allowed_effects: DropEffects§preview_label: Option<Arc<str>>Trait Implementations§
Source§impl Clone for DragPreview
impl Clone for DragPreview
Source§impl Debug for DragPreview
impl Debug for DragPreview
Source§impl PartialEq for DragPreview
impl PartialEq for DragPreview
impl StructuralPartialEq for DragPreview
Auto Trait Implementations§
impl !RefUnwindSafe for DragPreview
impl !UnwindSafe for DragPreview
impl Forget for DragPreview
impl Freeze for DragPreview
impl Move for DragPreview
impl Send for DragPreview
impl Sync for DragPreview
impl Unpin for DragPreview
impl UnsafeUnpin for DragPreview
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