pub trait ImplDownloadImageCallback:
Clone
+ Sized
+ Rc {
// Required method
fn get_raw(&self) -> *mut _cef_download_image_callback_t;
// Provided methods
fn on_download_image_finished(
&self,
image_url: Option<&CefString>,
http_status_code: c_int,
image: Option<&mut Image>,
) { ... }
fn init_methods(object: &mut _cef_download_image_callback_t) { ... }
}Required Methods§
fn get_raw(&self) -> *mut _cef_download_image_callback_t
Provided Methods§
Sourcefn on_download_image_finished(
&self,
image_url: Option<&CefString>,
http_status_code: c_int,
image: Option<&mut Image>,
)
fn on_download_image_finished( &self, image_url: Option<&CefString>, http_status_code: c_int, image: Option<&mut Image>, )
See _cef_download_image_callback_t::on_download_image_finished for more documentation.
fn init_methods(object: &mut _cef_download_image_callback_t)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.