pub trait ImplDomdocument:
Clone
+ Sized
+ Rc {
Show 15 methods
// Required methods
fn get_type(&self) -> DomDocumentType;
fn document(&self) -> Option<Domnode>;
fn body(&self) -> Option<Domnode>;
fn head(&self) -> Option<Domnode>;
fn title(&self) -> CefStringUserfree;
fn element_by_id(&self, id: Option<&CefString>) -> Option<Domnode>;
fn focused_node(&self) -> Option<Domnode>;
fn has_selection(&self) -> c_int;
fn selection_start_offset(&self) -> c_int;
fn selection_end_offset(&self) -> c_int;
fn selection_as_markup(&self) -> CefStringUserfree;
fn selection_as_text(&self) -> CefStringUserfree;
fn base_url(&self) -> CefStringUserfree;
fn complete_url(&self, partial_url: Option<&CefString>) -> CefStringUserfree;
fn get_raw(&self) -> *mut _cef_domdocument_t;
}Required Methods§
Sourcefn get_type(&self) -> DomDocumentType
fn get_type(&self) -> DomDocumentType
See _cef_domdocument_t::get_type for more documentation.
Sourcefn document(&self) -> Option<Domnode>
fn document(&self) -> Option<Domnode>
See _cef_domdocument_t::get_document for more documentation.
Sourcefn body(&self) -> Option<Domnode>
fn body(&self) -> Option<Domnode>
See _cef_domdocument_t::get_body for more documentation.
Sourcefn head(&self) -> Option<Domnode>
fn head(&self) -> Option<Domnode>
See _cef_domdocument_t::get_head for more documentation.
Sourcefn title(&self) -> CefStringUserfree
fn title(&self) -> CefStringUserfree
See _cef_domdocument_t::get_title for more documentation.
Sourcefn element_by_id(&self, id: Option<&CefString>) -> Option<Domnode>
fn element_by_id(&self, id: Option<&CefString>) -> Option<Domnode>
See _cef_domdocument_t::get_element_by_id for more documentation.
Sourcefn focused_node(&self) -> Option<Domnode>
fn focused_node(&self) -> Option<Domnode>
See _cef_domdocument_t::get_focused_node for more documentation.
Sourcefn has_selection(&self) -> c_int
fn has_selection(&self) -> c_int
See _cef_domdocument_t::has_selection for more documentation.
Sourcefn selection_start_offset(&self) -> c_int
fn selection_start_offset(&self) -> c_int
See _cef_domdocument_t::get_selection_start_offset for more documentation.
Sourcefn selection_end_offset(&self) -> c_int
fn selection_end_offset(&self) -> c_int
See _cef_domdocument_t::get_selection_end_offset for more documentation.
Sourcefn selection_as_markup(&self) -> CefStringUserfree
fn selection_as_markup(&self) -> CefStringUserfree
See _cef_domdocument_t::get_selection_as_markup for more documentation.
Sourcefn selection_as_text(&self) -> CefStringUserfree
fn selection_as_text(&self) -> CefStringUserfree
See _cef_domdocument_t::get_selection_as_text for more documentation.
Sourcefn base_url(&self) -> CefStringUserfree
fn base_url(&self) -> CefStringUserfree
See _cef_domdocument_t::get_base_url for more documentation.
Sourcefn complete_url(&self, partial_url: Option<&CefString>) -> CefStringUserfree
fn complete_url(&self, partial_url: Option<&CefString>) -> CefStringUserfree
See _cef_domdocument_t::get_complete_url for more documentation.
fn get_raw(&self) -> *mut _cef_domdocument_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.