pub trait ImplResourceBundleHandler:
Clone
+ Sized
+ Rc {
// Required method
fn get_raw(&self) -> *mut _cef_resource_bundle_handler_t;
// Provided methods
fn localized_string(
&self,
string_id: c_int,
string: Option<&mut CefString>,
) -> c_int { ... }
fn data_resource(
&self,
resource_id: c_int,
data: Option<&mut Vec<u8>>,
) -> c_int { ... }
fn data_resource_for_scale(
&self,
resource_id: c_int,
scale_factor: ScaleFactor,
data: Option<&mut Vec<u8>>,
) -> c_int { ... }
fn init_methods(object: &mut _cef_resource_bundle_handler_t) { ... }
}Required Methods§
fn get_raw(&self) -> *mut _cef_resource_bundle_handler_t
Provided Methods§
Sourcefn localized_string(
&self,
string_id: c_int,
string: Option<&mut CefString>,
) -> c_int
fn localized_string( &self, string_id: c_int, string: Option<&mut CefString>, ) -> c_int
See _cef_resource_bundle_handler_t::get_localized_string for more documentation.
Sourcefn data_resource(&self, resource_id: c_int, data: Option<&mut Vec<u8>>) -> c_int
fn data_resource(&self, resource_id: c_int, data: Option<&mut Vec<u8>>) -> c_int
See _cef_resource_bundle_handler_t::get_data_resource for more documentation.
Sourcefn data_resource_for_scale(
&self,
resource_id: c_int,
scale_factor: ScaleFactor,
data: Option<&mut Vec<u8>>,
) -> c_int
fn data_resource_for_scale( &self, resource_id: c_int, scale_factor: ScaleFactor, data: Option<&mut Vec<u8>>, ) -> c_int
See _cef_resource_bundle_handler_t::get_data_resource_for_scale for more documentation.
fn init_methods(object: &mut _cef_resource_bundle_handler_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.