pub struct DropAccepted {
pub source: Option<Entity>,
pub target: Entity,
pub payload: MimePayload,
pub effect: DropEffect,
}Expand description
Emitted when the user releases the drag on a hovered drop target (in-app gesture).
Fields§
§source: Option<Entity>Source entity, when the drop originated in-app.
target: EntityTarget entity receiving the drop.
payload: MimePayloadPayload delivered.
effect: DropEffectEffect chosen by the target.
Trait Implementations§
Source§impl Clone for DropAccepted
impl Clone for DropAccepted
Source§fn clone(&self) -> DropAccepted
fn clone(&self) -> DropAccepted
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DropAccepted
impl Debug for DropAccepted
impl Message for DropAccepted
Auto Trait Implementations§
impl Freeze for DropAccepted
impl RefUnwindSafe for DropAccepted
impl Send for DropAccepted
impl Sync for DropAccepted
impl Unpin for DropAccepted
impl UnsafeUnpin for DropAccepted
impl UnwindSafe for DropAccepted
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,
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.