pub struct ActiveDragData {
pub source: Entity,
pub payload: MimePayload,
pub effects: DropEffectSet,
}Expand description
Payload of an in-flight ActiveDrag.
Fields§
§source: EntityEntity that started the drag (carries DragSource).
payload: MimePayloadPayload captured at drag-start.
effects: DropEffectSetEffects the source advertises (negotiated against each target).
Trait Implementations§
Source§impl Clone for ActiveDragData
impl Clone for ActiveDragData
Source§fn clone(&self) -> ActiveDragData
fn clone(&self) -> ActiveDragData
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 moreAuto Trait Implementations§
impl Freeze for ActiveDragData
impl RefUnwindSafe for ActiveDragData
impl Send for ActiveDragData
impl Sync for ActiveDragData
impl Unpin for ActiveDragData
impl UnsafeUnpin for ActiveDragData
impl UnwindSafe for ActiveDragData
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.