[−][src]Enum smithay_client_toolkit::data_device::DndEvent
Possible events generated during a drag'n'drop session
Variants
A new drag'n'drop entered your surfaces
Fields of Enter
offer: Option<&'a DataOffer>
The associated data offer
Is None if it is an internal drag'n'drop you started with
no source. See DataDevice::start_drag
for details.
serial: u32
A serial associated with the entry of this dnd
surface: Proxy<WlSurface>
The entered surface
x: f64
horizontal location on the surface
y: f64
vertical location on the surface
The drag'n'drop offer moved on the surface
Fields of Motion
The drag'n'drop offer left your surface
The drag'n'drop was dropped on your surface
Fields of Drop
Auto Trait Implementations
impl<'a> Send for DndEvent<'a>
impl<'a> Unpin for DndEvent<'a>
impl<'a> Sync for DndEvent<'a>
impl<'a> !UnwindSafe for DndEvent<'a>
impl<'a> !RefUnwindSafe for DndEvent<'a>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,