pub struct DragDropScope { /* private fields */ }Implementations§
Source§impl DragDropScope
impl DragDropScope
pub fn new() -> Self
pub const fn id(&self) -> DragScopeId
pub fn active_drag(&self) -> Option<DragPreview>
pub fn set_active_drag(&self, active: DragPreview)
pub fn update_drag_position( &self, session_id: DragSessionId, position: Point, ) -> bool
pub fn finish_drag(&self, session_id: DragSessionId) -> bool
pub fn clear(&self)
Trait Implementations§
Source§impl Clone for DragDropScope
impl Clone for DragDropScope
Source§impl Debug for DragDropScope
impl Debug for DragDropScope
Auto Trait Implementations§
impl Forget for DragDropScope
impl Freeze for DragDropScope
impl Move for DragDropScope
impl RefUnwindSafe for DragDropScope
impl Send for DragDropScope
impl Sync for DragDropScope
impl Unpin for DragDropScope
impl UnsafeUnpin for DragDropScope
impl UnwindSafe for DragDropScope
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