pub struct DownloadItem(/* private fields */);Expand description
See _cef_download_item_t for more documentation.
Trait Implementations§
Source§impl Clone for DownloadItem
impl Clone for DownloadItem
Source§fn clone(&self) -> DownloadItem
fn clone(&self) -> DownloadItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ConvertParam<*mut _cef_download_item_t> for &DownloadItem
impl ConvertParam<*mut _cef_download_item_t> for &DownloadItem
fn into_raw(self) -> *mut _cef_download_item_t
Source§impl ConvertParam<*mut _cef_download_item_t> for &mut DownloadItem
impl ConvertParam<*mut _cef_download_item_t> for &mut DownloadItem
fn into_raw(self) -> *mut _cef_download_item_t
Source§impl ConvertReturnValue<DownloadItem> for *mut _cef_download_item_t
impl ConvertReturnValue<DownloadItem> for *mut _cef_download_item_t
fn wrap_result(self) -> DownloadItem
Source§impl From<DownloadItem> for *mut _cef_download_item_t
impl From<DownloadItem> for *mut _cef_download_item_t
Source§fn from(value: DownloadItem) -> Self
fn from(value: DownloadItem) -> Self
Converts to this type from the input type.
Source§impl ImplDownloadItem for DownloadItem
impl ImplDownloadItem for DownloadItem
Source§fn is_valid(&self) -> c_int
fn is_valid(&self) -> c_int
See
_cef_download_item_t::is_valid for more documentation.Source§fn is_in_progress(&self) -> c_int
fn is_in_progress(&self) -> c_int
See
_cef_download_item_t::is_in_progress for more documentation.Source§fn is_complete(&self) -> c_int
fn is_complete(&self) -> c_int
See
_cef_download_item_t::is_complete for more documentation.Source§fn is_canceled(&self) -> c_int
fn is_canceled(&self) -> c_int
See
_cef_download_item_t::is_canceled for more documentation.Source§fn is_interrupted(&self) -> c_int
fn is_interrupted(&self) -> c_int
See
_cef_download_item_t::is_interrupted for more documentation.Source§fn interrupt_reason(&self) -> DownloadInterruptReason
fn interrupt_reason(&self) -> DownloadInterruptReason
See
_cef_download_item_t::get_interrupt_reason for more documentation.Source§fn current_speed(&self) -> i64
fn current_speed(&self) -> i64
See
_cef_download_item_t::get_current_speed for more documentation.Source§fn percent_complete(&self) -> c_int
fn percent_complete(&self) -> c_int
See
_cef_download_item_t::get_percent_complete for more documentation.Source§fn total_bytes(&self) -> i64
fn total_bytes(&self) -> i64
See
_cef_download_item_t::get_total_bytes for more documentation.Source§fn received_bytes(&self) -> i64
fn received_bytes(&self) -> i64
See
_cef_download_item_t::get_received_bytes for more documentation.Source§fn start_time(&self) -> Basetime
fn start_time(&self) -> Basetime
See
_cef_download_item_t::get_start_time for more documentation.Source§fn end_time(&self) -> Basetime
fn end_time(&self) -> Basetime
See
_cef_download_item_t::get_end_time for more documentation.Source§fn full_path(&self) -> CefStringUserfree
fn full_path(&self) -> CefStringUserfree
See
_cef_download_item_t::get_full_path for more documentation.Source§fn id(&self) -> u32
fn id(&self) -> u32
See
_cef_download_item_t::get_id for more documentation.Source§fn url(&self) -> CefStringUserfree
fn url(&self) -> CefStringUserfree
See
_cef_download_item_t::get_url for more documentation.Source§fn original_url(&self) -> CefStringUserfree
fn original_url(&self) -> CefStringUserfree
See
_cef_download_item_t::get_original_url for more documentation.Source§fn suggested_file_name(&self) -> CefStringUserfree
fn suggested_file_name(&self) -> CefStringUserfree
See
_cef_download_item_t::get_suggested_file_name for more documentation.Source§fn content_disposition(&self) -> CefStringUserfree
fn content_disposition(&self) -> CefStringUserfree
See
_cef_download_item_t::get_content_disposition for more documentation.Source§fn mime_type(&self) -> CefStringUserfree
fn mime_type(&self) -> CefStringUserfree
See
_cef_download_item_t::get_mime_type for more documentation.fn get_raw(&self) -> *mut _cef_download_item_t
Source§impl Rc for DownloadItem
impl Rc for DownloadItem
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 DownloadItem
impl RefUnwindSafe for DownloadItem
impl Send for DownloadItem
impl Sync for DownloadItem
impl Unpin for DownloadItem
impl UnwindSafe for DownloadItem
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