pub struct DragStarted {
pub source: Entity,
pub payload: MimePayload,
}Expand description
Emitted when a drag starts on a DragSource entity (in-app
gesture). Cross-window drag-source via the platform is deferred -
see crate docs.
Fields§
§source: EntitySource entity carrying DragSource.
payload: MimePayloadPayload the source published.
Trait Implementations§
Source§impl Clone for DragStarted
impl Clone for DragStarted
Source§fn clone(&self) -> DragStarted
fn clone(&self) -> DragStarted
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 DragStarted
impl Debug for DragStarted
impl Message for DragStarted
Auto Trait Implementations§
impl Freeze for DragStarted
impl RefUnwindSafe for DragStarted
impl Send for DragStarted
impl Sync for DragStarted
impl Unpin for DragStarted
impl UnsafeUnpin for DragStarted
impl UnwindSafe for DragStarted
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.