ImplSchemeRegistrar

Trait ImplSchemeRegistrar 

Source
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§

Source

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.

Source

fn get_raw(&self) -> *mut _cef_scheme_registrar_t

Provided Methods§

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.

Implementors§