pub trait ImplSchemeRegistrar: Sized {
// Required methods
fn add_custom_scheme(
&self,
scheme_name: Option<&CefString>,
options: c_int,
) -> c_int;
fn get_raw(&self) -> *mut _cef_scheme_registrar_t;
// Provided method
fn init_methods(object: &mut _cef_scheme_registrar_t) { ... }
}Required Methods§
Sourcefn add_custom_scheme(
&self,
scheme_name: Option<&CefString>,
options: c_int,
) -> c_int
fn add_custom_scheme( &self, scheme_name: Option<&CefString>, options: c_int, ) -> c_int
See _cef_scheme_registrar_t::add_custom_scheme for more documentation.
fn get_raw(&self) -> *mut _cef_scheme_registrar_t
Provided Methods§
fn init_methods(object: &mut _cef_scheme_registrar_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.