#[repr(C)]pub struct FileDropDrag {
pub files: StringVec,
pub position: LogicalPosition,
pub drop_target: OptionDomNodeId,
pub drop_effect: DropEffect,
}Expand description
File drop from OS drag state.
Tracks files being dragged from the operating system.
Fields§
§files: StringVecFiles being dragged (as string paths)
position: LogicalPositionCurrent position of drag cursor
drop_target: OptionDomNodeIdDOM node under cursor (potential drop target)
drop_effect: DropEffectAllowed drop effect
Trait Implementations§
Source§impl Clone for FileDropDrag
impl Clone for FileDropDrag
Source§fn clone(&self) -> FileDropDrag
fn clone(&self) -> FileDropDrag
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 moreSource§impl Debug for FileDropDrag
impl Debug for FileDropDrag
Source§impl PartialEq for FileDropDrag
impl PartialEq for FileDropDrag
impl StructuralPartialEq for FileDropDrag
Auto Trait Implementations§
impl Freeze for FileDropDrag
impl RefUnwindSafe for FileDropDrag
impl Send for FileDropDrag
impl Sync for FileDropDrag
impl Unpin for FileDropDrag
impl UnwindSafe for FileDropDrag
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more