ImplDomnode

Trait ImplDomnode 

Source
pub trait ImplDomnode:
    Clone
    + Sized
    + Rc {
Show 27 methods // Required methods fn get_type(&self) -> DomNodeType; fn is_text(&self) -> c_int; fn is_element(&self) -> c_int; fn is_editable(&self) -> c_int; fn is_form_control_element(&self) -> c_int; fn form_control_element_type(&self) -> DomFormControlType; fn is_same(&self, that: Option<&mut Domnode>) -> c_int; fn name(&self) -> CefStringUserfree; fn value(&self) -> CefStringUserfree; fn set_value(&self, value: Option<&CefString>) -> c_int; fn as_markup(&self) -> CefStringUserfree; fn document(&self) -> Option<Domdocument>; fn parent(&self) -> Option<Domnode>; fn previous_sibling(&self) -> Option<Domnode>; fn next_sibling(&self) -> Option<Domnode>; fn has_children(&self) -> c_int; fn first_child(&self) -> Option<Domnode>; fn last_child(&self) -> Option<Domnode>; fn element_tag_name(&self) -> CefStringUserfree; fn has_element_attributes(&self) -> c_int; fn has_element_attribute(&self, attr_name: Option<&CefString>) -> c_int; fn element_attribute( &self, attr_name: Option<&CefString>, ) -> CefStringUserfree; fn element_attributes(&self, attr_map: Option<&mut CefStringMap>); fn set_element_attribute( &self, attr_name: Option<&CefString>, value: Option<&CefString>, ) -> c_int; fn element_inner_text(&self) -> CefStringUserfree; fn element_bounds(&self) -> Rect; fn get_raw(&self) -> *mut _cef_domnode_t;
}

Required Methods§

Source

fn get_type(&self) -> DomNodeType

See _cef_domnode_t::get_type for more documentation.

Source

fn is_text(&self) -> c_int

See _cef_domnode_t::is_text for more documentation.

Source

fn is_element(&self) -> c_int

See _cef_domnode_t::is_element for more documentation.

Source

fn is_editable(&self) -> c_int

See _cef_domnode_t::is_editable for more documentation.

Source

fn is_form_control_element(&self) -> c_int

See _cef_domnode_t::is_form_control_element for more documentation.

Source

fn form_control_element_type(&self) -> DomFormControlType

Source

fn is_same(&self, that: Option<&mut Domnode>) -> c_int

See _cef_domnode_t::is_same for more documentation.

Source

fn name(&self) -> CefStringUserfree

See _cef_domnode_t::get_name for more documentation.

Source

fn value(&self) -> CefStringUserfree

See _cef_domnode_t::get_value for more documentation.

Source

fn set_value(&self, value: Option<&CefString>) -> c_int

See _cef_domnode_t::set_value for more documentation.

Source

fn as_markup(&self) -> CefStringUserfree

See _cef_domnode_t::get_as_markup for more documentation.

Source

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

See _cef_domnode_t::get_document for more documentation.

Source

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

See _cef_domnode_t::get_parent for more documentation.

Source

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

See _cef_domnode_t::get_previous_sibling for more documentation.

Source

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

See _cef_domnode_t::get_next_sibling for more documentation.

Source

fn has_children(&self) -> c_int

See _cef_domnode_t::has_children for more documentation.

Source

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

See _cef_domnode_t::get_first_child for more documentation.

Source

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

See _cef_domnode_t::get_last_child for more documentation.

Source

fn element_tag_name(&self) -> CefStringUserfree

See _cef_domnode_t::get_element_tag_name for more documentation.

Source

fn has_element_attributes(&self) -> c_int

See _cef_domnode_t::has_element_attributes for more documentation.

Source

fn has_element_attribute(&self, attr_name: Option<&CefString>) -> c_int

See _cef_domnode_t::has_element_attribute for more documentation.

Source

fn element_attribute(&self, attr_name: Option<&CefString>) -> CefStringUserfree

See _cef_domnode_t::get_element_attribute for more documentation.

Source

fn element_attributes(&self, attr_map: Option<&mut CefStringMap>)

See _cef_domnode_t::get_element_attributes for more documentation.

Source

fn set_element_attribute( &self, attr_name: Option<&CefString>, value: Option<&CefString>, ) -> c_int

See _cef_domnode_t::set_element_attribute for more documentation.

Source

fn element_inner_text(&self) -> CefStringUserfree

See _cef_domnode_t::get_element_inner_text for more documentation.

Source

fn element_bounds(&self) -> Rect

See _cef_domnode_t::get_element_bounds for more documentation.

Source

fn get_raw(&self) -> *mut _cef_domnode_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§