#[non_exhaustive]pub struct TextDrop {
pub text: String,
pub html: String,
pub page_position: Point<Points>,
}Expand description
Text dropped on a view (EventKind::TextDrop).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.text: StringThe plain text, empty when the drag held none.
html: StringThe same content as HTML, empty when the drag held none.
page_position: Point<Points>The drop point in the window’s coordinates.
Implementations§
Trait Implementations§
impl StructuralPartialEq for TextDrop
Auto Trait Implementations§
impl Forget for TextDrop
impl Freeze for TextDrop
impl Move for TextDrop
impl RefUnwindSafe for TextDrop
impl Send for TextDropwhere
RawVecInner: Send,
impl Sync for TextDropwhere
RawVecInner: Sync,
impl Unpin for TextDrop
impl UnsafeUnpin for TextDrop
impl UnwindSafe for TextDropwhere
RawVecInner: UnwindSafe,
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