ImplDomdocument

Trait ImplDomdocument 

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

Source

fn get_type(&self) -> DomDocumentType

See _cef_domdocument_t::get_type for more documentation.

Source

fn document(&self) -> Option<Domnode>

See _cef_domdocument_t::get_document for more documentation.

Source

fn body(&self) -> Option<Domnode>

See _cef_domdocument_t::get_body for more documentation.

Source

fn head(&self) -> Option<Domnode>

See _cef_domdocument_t::get_head for more documentation.

Source

fn title(&self) -> CefStringUserfree

See _cef_domdocument_t::get_title for more documentation.

Source

fn element_by_id(&self, id: Option<&CefString>) -> Option<Domnode>

See _cef_domdocument_t::get_element_by_id for more documentation.

Source

fn focused_node(&self) -> Option<Domnode>

See _cef_domdocument_t::get_focused_node for more documentation.

Source

fn has_selection(&self) -> c_int

See _cef_domdocument_t::has_selection for more documentation.

Source

fn selection_start_offset(&self) -> c_int

Source

fn selection_end_offset(&self) -> c_int

Source

fn selection_as_markup(&self) -> CefStringUserfree

See _cef_domdocument_t::get_selection_as_markup for more documentation.

Source

fn selection_as_text(&self) -> CefStringUserfree

See _cef_domdocument_t::get_selection_as_text for more documentation.

Source

fn base_url(&self) -> CefStringUserfree

See _cef_domdocument_t::get_base_url for more documentation.

Source

fn complete_url(&self, partial_url: Option<&CefString>) -> CefStringUserfree

See _cef_domdocument_t::get_complete_url for more documentation.

Source

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.

Implementors§