pub struct Drop {
pub x: f64,
pub y: f64,
pub name: String,
pub mime_type: String,
pub data: Vec<u8>,
}Expand description
User drops a file-like payload over an element.
Fields§
§x: f64The x-coordinate of the drop in the receiving node’s local coordinate space.
y: f64The y-coordinate of the drop in the receiving node’s local coordinate space.
name: StringFile or payload name supplied by the platform.
mime_type: StringMIME type supplied by the platform.
data: Vec<u8>Raw dropped payload bytes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Drop
impl RefUnwindSafe for Drop
impl Send for Drop
impl Sync for Drop
impl Unpin for Drop
impl UnsafeUnpin for Drop
impl UnwindSafe for Drop
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.