pub struct DragDataObject { /* private fields */ }Implementations§
Source§impl DragDataObject
impl DragDataObject
pub fn new() -> Self
pub fn set_text(self, value: impl Into<String>) -> Self
pub fn set_format( self, format: impl Into<String>, value: impl Into<String>, ) -> Self
pub fn has_format(&self, format: &str) -> bool
pub fn get_text(&self) -> Option<String>
pub fn get_format(&self, format: &str) -> Option<String>
Trait Implementations§
Source§impl Clone for DragDataObject
impl Clone for DragDataObject
Source§fn clone(&self) -> DragDataObject
fn clone(&self) -> DragDataObject
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 DragDataObject
impl Debug for DragDataObject
Source§impl Default for DragDataObject
impl Default for DragDataObject
Source§fn default() -> DragDataObject
fn default() -> DragDataObject
Returns the “default value” for a type. Read more
impl Eq for DragDataObject
Source§impl PartialEq for DragDataObject
impl PartialEq for DragDataObject
impl StructuralPartialEq for DragDataObject
Auto Trait Implementations§
impl Freeze for DragDataObject
impl RefUnwindSafe for DragDataObject
impl Send for DragDataObject
impl Sync for DragDataObject
impl Unpin for DragDataObject
impl UnsafeUnpin for DragDataObject
impl UnwindSafe for DragDataObject
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