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§
Sourcefn get_type(&self) -> DomNodeType
fn get_type(&self) -> DomNodeType
See _cef_domnode_t::get_type for more documentation.
Sourcefn is_text(&self) -> c_int
fn is_text(&self) -> c_int
See _cef_domnode_t::is_text for more documentation.
Sourcefn is_element(&self) -> c_int
fn is_element(&self) -> c_int
See _cef_domnode_t::is_element for more documentation.
Sourcefn is_editable(&self) -> c_int
fn is_editable(&self) -> c_int
See _cef_domnode_t::is_editable for more documentation.
Sourcefn is_form_control_element(&self) -> c_int
fn is_form_control_element(&self) -> c_int
See _cef_domnode_t::is_form_control_element for more documentation.
Sourcefn form_control_element_type(&self) -> DomFormControlType
fn form_control_element_type(&self) -> DomFormControlType
See _cef_domnode_t::get_form_control_element_type for more documentation.
Sourcefn is_same(&self, that: Option<&mut Domnode>) -> c_int
fn is_same(&self, that: Option<&mut Domnode>) -> c_int
See _cef_domnode_t::is_same for more documentation.
Sourcefn name(&self) -> CefStringUserfree
fn name(&self) -> CefStringUserfree
See _cef_domnode_t::get_name for more documentation.
Sourcefn value(&self) -> CefStringUserfree
fn value(&self) -> CefStringUserfree
See _cef_domnode_t::get_value for more documentation.
Sourcefn set_value(&self, value: Option<&CefString>) -> c_int
fn set_value(&self, value: Option<&CefString>) -> c_int
See _cef_domnode_t::set_value for more documentation.
Sourcefn as_markup(&self) -> CefStringUserfree
fn as_markup(&self) -> CefStringUserfree
See _cef_domnode_t::get_as_markup for more documentation.
Sourcefn document(&self) -> Option<Domdocument>
fn document(&self) -> Option<Domdocument>
See _cef_domnode_t::get_document for more documentation.
Sourcefn parent(&self) -> Option<Domnode>
fn parent(&self) -> Option<Domnode>
See _cef_domnode_t::get_parent for more documentation.
Sourcefn previous_sibling(&self) -> Option<Domnode>
fn previous_sibling(&self) -> Option<Domnode>
See _cef_domnode_t::get_previous_sibling for more documentation.
Sourcefn next_sibling(&self) -> Option<Domnode>
fn next_sibling(&self) -> Option<Domnode>
See _cef_domnode_t::get_next_sibling for more documentation.
Sourcefn has_children(&self) -> c_int
fn has_children(&self) -> c_int
See _cef_domnode_t::has_children for more documentation.
Sourcefn first_child(&self) -> Option<Domnode>
fn first_child(&self) -> Option<Domnode>
See _cef_domnode_t::get_first_child for more documentation.
Sourcefn last_child(&self) -> Option<Domnode>
fn last_child(&self) -> Option<Domnode>
See _cef_domnode_t::get_last_child for more documentation.
Sourcefn element_tag_name(&self) -> CefStringUserfree
fn element_tag_name(&self) -> CefStringUserfree
See _cef_domnode_t::get_element_tag_name for more documentation.
Sourcefn has_element_attributes(&self) -> c_int
fn has_element_attributes(&self) -> c_int
See _cef_domnode_t::has_element_attributes for more documentation.
Sourcefn has_element_attribute(&self, attr_name: Option<&CefString>) -> c_int
fn has_element_attribute(&self, attr_name: Option<&CefString>) -> c_int
See _cef_domnode_t::has_element_attribute for more documentation.
Sourcefn element_attribute(&self, attr_name: Option<&CefString>) -> CefStringUserfree
fn element_attribute(&self, attr_name: Option<&CefString>) -> CefStringUserfree
See _cef_domnode_t::get_element_attribute for more documentation.
Sourcefn element_attributes(&self, attr_map: Option<&mut CefStringMap>)
fn element_attributes(&self, attr_map: Option<&mut CefStringMap>)
See _cef_domnode_t::get_element_attributes for more documentation.
Sourcefn set_element_attribute(
&self,
attr_name: Option<&CefString>,
value: Option<&CefString>,
) -> c_int
fn set_element_attribute( &self, attr_name: Option<&CefString>, value: Option<&CefString>, ) -> c_int
See _cef_domnode_t::set_element_attribute for more documentation.
Sourcefn element_inner_text(&self) -> CefStringUserfree
fn element_inner_text(&self) -> CefStringUserfree
See _cef_domnode_t::get_element_inner_text for more documentation.
Sourcefn element_bounds(&self) -> Rect
fn element_bounds(&self) -> Rect
See _cef_domnode_t::get_element_bounds for more documentation.
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.