pub struct DownloadItemCallback(/* private fields */);Expand description
See _cef_download_item_callback_t for more documentation.
Trait Implementations§
Source§impl Clone for DownloadItemCallback
impl Clone for DownloadItemCallback
Source§fn clone(&self) -> DownloadItemCallback
fn clone(&self) -> DownloadItemCallback
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_callback_t> for &DownloadItemCallback
impl ConvertParam<*mut _cef_download_item_callback_t> for &DownloadItemCallback
fn into_raw(self) -> *mut _cef_download_item_callback_t
Source§impl ConvertParam<*mut _cef_download_item_callback_t> for &mut DownloadItemCallback
impl ConvertParam<*mut _cef_download_item_callback_t> for &mut DownloadItemCallback
fn into_raw(self) -> *mut _cef_download_item_callback_t
Source§impl ConvertReturnValue<DownloadItemCallback> for *mut _cef_download_item_callback_t
impl ConvertReturnValue<DownloadItemCallback> for *mut _cef_download_item_callback_t
fn wrap_result(self) -> DownloadItemCallback
Source§impl From<DownloadItemCallback> for *mut _cef_download_item_callback_t
impl From<DownloadItemCallback> for *mut _cef_download_item_callback_t
Source§fn from(value: DownloadItemCallback) -> Self
fn from(value: DownloadItemCallback) -> Self
Converts to this type from the input type.
Source§impl ImplDownloadItemCallback for DownloadItemCallback
impl ImplDownloadItemCallback for DownloadItemCallback
Source§fn cancel(&self)
fn cancel(&self)
See
_cef_download_item_callback_t::cancel for more documentation.Source§fn pause(&self)
fn pause(&self)
See
_cef_download_item_callback_t::pause for more documentation.Source§fn resume(&self)
fn resume(&self)
See
_cef_download_item_callback_t::resume for more documentation.fn get_raw(&self) -> *mut _cef_download_item_callback_t
Source§impl Rc for DownloadItemCallback
impl Rc for DownloadItemCallback
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 DownloadItemCallback
impl RefUnwindSafe for DownloadItemCallback
impl Send for DownloadItemCallback
impl Sync for DownloadItemCallback
impl Unpin for DownloadItemCallback
impl UnwindSafe for DownloadItemCallback
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