pub struct FileDropTargetScope { /* private fields */ }Expand description
A FileDropTarget and its builder.
Implementations§
Source§impl FileDropTargetScope
impl FileDropTargetScope
pub fn alignment(self, alignment: Alignment) -> Self
pub fn on_files_entered(self, handler: impl FnMut() + 'static) -> Self
pub fn on_files_dropped(self, handler: impl FnMut(FileDrop) + 'static) -> Self
Trait Implementations§
Source§impl Drop for FileDropTargetScope
impl Drop for FileDropTargetScope
Auto Trait Implementations§
impl !RefUnwindSafe for FileDropTargetScope
impl !Send for FileDropTargetScope
impl !Sync for FileDropTargetScope
impl !UnwindSafe for FileDropTargetScope
impl Freeze for FileDropTargetScope
impl Unpin for FileDropTargetScope
impl UnsafeUnpin for FileDropTargetScope
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