pub struct DragData(/* private fields */);Expand description
See _cef_drag_data_t for more documentation.
Trait Implementations§
Source§impl ConvertParam<*mut _cef_drag_data_t> for &DragData
impl ConvertParam<*mut _cef_drag_data_t> for &DragData
fn into_raw(self) -> *mut _cef_drag_data_t
Source§impl ConvertParam<*mut _cef_drag_data_t> for &mut DragData
impl ConvertParam<*mut _cef_drag_data_t> for &mut DragData
fn into_raw(self) -> *mut _cef_drag_data_t
Source§impl ConvertReturnValue<DragData> for *mut _cef_drag_data_t
impl ConvertReturnValue<DragData> for *mut _cef_drag_data_t
fn wrap_result(self) -> DragData
Source§impl ImplDragData for DragData
impl ImplDragData for DragData
Source§fn is_read_only(&self) -> c_int
fn is_read_only(&self) -> c_int
See
_cef_drag_data_t::is_read_only for more documentation.Source§fn is_link(&self) -> c_int
fn is_link(&self) -> c_int
See
_cef_drag_data_t::is_link for more documentation.Source§fn is_fragment(&self) -> c_int
fn is_fragment(&self) -> c_int
See
_cef_drag_data_t::is_fragment for more documentation.Source§fn is_file(&self) -> c_int
fn is_file(&self) -> c_int
See
_cef_drag_data_t::is_file for more documentation.Source§fn link_url(&self) -> CefStringUserfree
fn link_url(&self) -> CefStringUserfree
See
_cef_drag_data_t::get_link_url for more documentation.Source§fn link_title(&self) -> CefStringUserfree
fn link_title(&self) -> CefStringUserfree
See
_cef_drag_data_t::get_link_title for more documentation.Source§fn link_metadata(&self) -> CefStringUserfree
fn link_metadata(&self) -> CefStringUserfree
See
_cef_drag_data_t::get_link_metadata for more documentation.Source§fn fragment_text(&self) -> CefStringUserfree
fn fragment_text(&self) -> CefStringUserfree
See
_cef_drag_data_t::get_fragment_text for more documentation.Source§fn fragment_html(&self) -> CefStringUserfree
fn fragment_html(&self) -> CefStringUserfree
See
_cef_drag_data_t::get_fragment_html for more documentation.Source§fn fragment_base_url(&self) -> CefStringUserfree
fn fragment_base_url(&self) -> CefStringUserfree
See
_cef_drag_data_t::get_fragment_base_url for more documentation.Source§fn file_name(&self) -> CefStringUserfree
fn file_name(&self) -> CefStringUserfree
See
_cef_drag_data_t::get_file_name for more documentation.Source§fn file_contents(&self, writer: Option<&mut StreamWriter>) -> usize
fn file_contents(&self, writer: Option<&mut StreamWriter>) -> usize
See
_cef_drag_data_t::get_file_contents for more documentation.Source§fn file_names(&self, names: Option<&mut CefStringList>) -> c_int
fn file_names(&self, names: Option<&mut CefStringList>) -> c_int
See
_cef_drag_data_t::get_file_names for more documentation.Source§fn file_paths(&self, paths: Option<&mut CefStringList>) -> c_int
fn file_paths(&self, paths: Option<&mut CefStringList>) -> c_int
See
_cef_drag_data_t::get_file_paths for more documentation.Source§fn set_link_url(&self, url: Option<&CefString>)
fn set_link_url(&self, url: Option<&CefString>)
See
_cef_drag_data_t::set_link_url for more documentation.Source§fn set_link_title(&self, title: Option<&CefString>)
fn set_link_title(&self, title: Option<&CefString>)
See
_cef_drag_data_t::set_link_title for more documentation.Source§fn set_link_metadata(&self, data: Option<&CefString>)
fn set_link_metadata(&self, data: Option<&CefString>)
See
_cef_drag_data_t::set_link_metadata for more documentation.Source§fn set_fragment_text(&self, text: Option<&CefString>)
fn set_fragment_text(&self, text: Option<&CefString>)
See
_cef_drag_data_t::set_fragment_text for more documentation.Source§fn set_fragment_html(&self, html: Option<&CefString>)
fn set_fragment_html(&self, html: Option<&CefString>)
See
_cef_drag_data_t::set_fragment_html for more documentation.Source§fn set_fragment_base_url(&self, base_url: Option<&CefString>)
fn set_fragment_base_url(&self, base_url: Option<&CefString>)
See
_cef_drag_data_t::set_fragment_base_url for more documentation.Source§fn reset_file_contents(&self)
fn reset_file_contents(&self)
See
_cef_drag_data_t::reset_file_contents for more documentation.Source§fn add_file(&self, path: Option<&CefString>, display_name: Option<&CefString>)
fn add_file(&self, path: Option<&CefString>, display_name: Option<&CefString>)
See
_cef_drag_data_t::add_file for more documentation.Source§fn clear_filenames(&self)
fn clear_filenames(&self)
See
_cef_drag_data_t::clear_filenames for more documentation.Source§fn image_hotspot(&self) -> Point
fn image_hotspot(&self) -> Point
See
_cef_drag_data_t::get_image_hotspot for more documentation.Source§fn has_image(&self) -> c_int
fn has_image(&self) -> c_int
See
_cef_drag_data_t::has_image for more documentation.fn get_raw(&self) -> *mut _cef_drag_data_t
Source§impl Rc for DragData
impl Rc for DragData
Source§fn as_base(&self) -> &_cef_base_ref_counted_t
fn as_base(&self) -> &_cef_base_ref_counted_t
Get the reference of cef_base_ref_counted_t.
Source§unsafe fn release(&self) -> bool
unsafe fn release(&self) -> bool
Decrease reference count by 1 and release the value if the count meets 0.
Reuturn
True if it is released. Read moreSource§fn has_one_ref(&self) -> bool
fn has_one_ref(&self) -> bool
True if the reference count is exactly 1.Source§fn has_at_least_one_ref(&self) -> bool
fn has_at_least_one_ref(&self) -> bool
True if the reference count is larger than 0.Auto Trait Implementations§
impl Freeze for DragData
impl RefUnwindSafe for DragData
impl Send for DragData
impl Sync for DragData
impl Unpin for DragData
impl UnwindSafe for DragData
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