[][src]Struct web_sys::HtmlDocument

#[repr(transparent)]
pub struct HtmlDocument { /* fields omitted */ }

The HTMLDocument object

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

Methods

impl HtmlDocument[src]

pub fn capture_events(&self)[src]

The captureEvents() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn clear(&self)[src]

The clear() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn close(&self) -> Result<(), JsValue>[src]

The close() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn exec_command(&self, command_id: &str) -> Result<bool, JsValue>[src]

The execCommand() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn exec_command_with_show_ui(
    &self,
    command_id: &str,
    show_ui: bool
) -> Result<bool, JsValue>
[src]

The execCommand() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn exec_command_with_show_ui_and_value(
    &self,
    command_id: &str,
    show_ui: bool,
    value: &str
) -> Result<bool, JsValue>
[src]

The execCommand() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn open(&self) -> Result<Document, JsValue>[src]

The open() method

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlDocument

impl HtmlDocument[src]

pub fn open_with_type(&self, type_: &str) -> Result<Document, JsValue>[src]

The open() method

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlDocument

impl HtmlDocument[src]

pub fn open_with_type_and_replace(
    &self,
    type_: &str,
    replace: &str
) -> Result<Document, JsValue>
[src]

The open() method

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlDocument

impl HtmlDocument[src]

pub fn open_with_url_and_name_and_features(
    &self,
    url: &str,
    name: &str,
    features: &str
) -> Result<Option<Window>, JsValue>
[src]

The open() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument, Window

impl HtmlDocument[src]

pub fn open_with_url_and_name_and_features_and_replace(
    &self,
    url: &str,
    name: &str,
    features: &str,
    replace: bool
) -> Result<Option<Window>, JsValue>
[src]

The open() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument, Window

impl HtmlDocument[src]

pub fn query_command_enabled(&self, command_id: &str) -> Result<bool, JsValue>[src]

The queryCommandEnabled() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn query_command_indeterm(&self, command_id: &str) -> Result<bool, JsValue>[src]

The queryCommandIndeterm() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn query_command_state(&self, command_id: &str) -> Result<bool, JsValue>[src]

The queryCommandState() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn query_command_supported(&self, command_id: &str) -> bool[src]

The queryCommandSupported() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn query_command_value(&self, command_id: &str) -> Result<String, JsValue>[src]

The queryCommandValue() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn release_events(&self)[src]

The releaseEvents() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn write(&self, text: &Array) -> Result<(), JsValue>[src]

The write() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn write_0(&self) -> Result<(), JsValue>[src]

The write() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn write_1(&self, text_1: &str) -> Result<(), JsValue>[src]

The write() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn write_2(&self, text_1: &str, text_2: &str) -> Result<(), JsValue>[src]

The write() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn write_3(
    &self,
    text_1: &str,
    text_2: &str,
    text_3: &str
) -> Result<(), JsValue>
[src]

The write() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn write_4(
    &self,
    text_1: &str,
    text_2: &str,
    text_3: &str,
    text_4: &str
) -> Result<(), JsValue>
[src]

The write() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn write_5(
    &self,
    text_1: &str,
    text_2: &str,
    text_3: &str,
    text_4: &str,
    text_5: &str
) -> Result<(), JsValue>
[src]

The write() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn write_6(
    &self,
    text_1: &str,
    text_2: &str,
    text_3: &str,
    text_4: &str,
    text_5: &str,
    text_6: &str
) -> Result<(), JsValue>
[src]

The write() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn write_7(
    &self,
    text_1: &str,
    text_2: &str,
    text_3: &str,
    text_4: &str,
    text_5: &str,
    text_6: &str,
    text_7: &str
) -> Result<(), JsValue>
[src]

The write() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn writeln(&self, text: &Array) -> Result<(), JsValue>[src]

The writeln() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn writeln_0(&self) -> Result<(), JsValue>[src]

The writeln() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn writeln_1(&self, text_1: &str) -> Result<(), JsValue>[src]

The writeln() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn writeln_2(&self, text_1: &str, text_2: &str) -> Result<(), JsValue>[src]

The writeln() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn writeln_3(
    &self,
    text_1: &str,
    text_2: &str,
    text_3: &str
) -> Result<(), JsValue>
[src]

The writeln() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn writeln_4(
    &self,
    text_1: &str,
    text_2: &str,
    text_3: &str,
    text_4: &str
) -> Result<(), JsValue>
[src]

The writeln() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn writeln_5(
    &self,
    text_1: &str,
    text_2: &str,
    text_3: &str,
    text_4: &str,
    text_5: &str
) -> Result<(), JsValue>
[src]

The writeln() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn writeln_6(
    &self,
    text_1: &str,
    text_2: &str,
    text_3: &str,
    text_4: &str,
    text_5: &str,
    text_6: &str
) -> Result<(), JsValue>
[src]

The writeln() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn writeln_7(
    &self,
    text_1: &str,
    text_2: &str,
    text_3: &str,
    text_4: &str,
    text_5: &str,
    text_6: &str,
    text_7: &str
) -> Result<(), JsValue>
[src]

The writeln() method

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn get(&self, name: &str) -> Result<Object, JsValue>[src]

The indexing getter

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn domain(&self) -> String[src]

The domain getter

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn set_domain(&self, domain: &str)[src]

The domain setter

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn cookie(&self) -> Result<String, JsValue>[src]

The cookie getter

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

The cookie setter

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn design_mode(&self) -> String[src]

The designMode getter

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn set_design_mode(&self, design_mode: &str)[src]

The designMode setter

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn fg_color(&self) -> String[src]

The fgColor getter

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn set_fg_color(&self, fg_color: &str)[src]

The fgColor setter

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

The linkColor getter

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

The linkColor setter

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

The vlinkColor getter

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

The vlinkColor setter

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

The alinkColor getter

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

The alinkColor setter

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn bg_color(&self) -> String[src]

The bgColor getter

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn set_bg_color(&self, bg_color: &str)[src]

The bgColor setter

MDN Documentation

This API requires the following crate features to be activated: HtmlDocument

impl HtmlDocument[src]

pub fn all(&self) -> HtmlAllCollection[src]

The all getter

MDN Documentation

This API requires the following crate features to be activated: HtmlAllCollection, HtmlDocument

Methods from Deref<Target = Document>

pub fn adopt_node(&self, node: &Node) -> Result<Node, JsValue>[src]

The adoptNode() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

pub fn caret_position_from_point(&self, x: f32, y: f32) -> Option<CaretPosition>[src]

The caretPositionFromPoint() method

MDN Documentation

This API requires the following crate features to be activated: CaretPosition, Document

pub fn create_attribute(&self, name: &str) -> Result<Attr, JsValue>[src]

The createAttribute() method

MDN Documentation

This API requires the following crate features to be activated: Attr, Document

pub fn create_attribute_ns(
    &self,
    namespace: Option<&str>,
    name: &str
) -> Result<Attr, JsValue>
[src]

The createAttributeNS() method

MDN Documentation

This API requires the following crate features to be activated: Attr, Document

pub fn create_cdata_section(&self, data: &str) -> Result<CdataSection, JsValue>[src]

The createCDATASection() method

MDN Documentation

This API requires the following crate features to be activated: CdataSection, Document

pub fn create_comment(&self, data: &str) -> Comment[src]

The createComment() method

MDN Documentation

This API requires the following crate features to be activated: Comment, Document

pub fn create_document_fragment(&self) -> DocumentFragment[src]

The createDocumentFragment() method

MDN Documentation

This API requires the following crate features to be activated: Document, DocumentFragment

pub fn create_element(&self, local_name: &str) -> Result<Element, JsValue>[src]

The createElement() method

MDN Documentation

This API requires the following crate features to be activated: Document, Element

pub fn create_element_with_element_creation_options(
    &self,
    local_name: &str,
    options: &ElementCreationOptions
) -> Result<Element, JsValue>
[src]

The createElement() method

MDN Documentation

This API requires the following crate features to be activated: Document, Element, ElementCreationOptions

pub fn create_element_with_str(
    &self,
    local_name: &str,
    options: &str
) -> Result<Element, JsValue>
[src]

The createElement() method

MDN Documentation

This API requires the following crate features to be activated: Document, Element

pub fn create_element_ns(
    &self,
    namespace: Option<&str>,
    qualified_name: &str
) -> Result<Element, JsValue>
[src]

The createElementNS() method

MDN Documentation

This API requires the following crate features to be activated: Document, Element

pub fn create_element_ns_with_element_creation_options(
    &self,
    namespace: Option<&str>,
    qualified_name: &str,
    options: &ElementCreationOptions
) -> Result<Element, JsValue>
[src]

The createElementNS() method

MDN Documentation

This API requires the following crate features to be activated: Document, Element, ElementCreationOptions

pub fn create_element_ns_with_str(
    &self,
    namespace: Option<&str>,
    qualified_name: &str,
    options: &str
) -> Result<Element, JsValue>
[src]

The createElementNS() method

MDN Documentation

This API requires the following crate features to be activated: Document, Element

pub fn create_event(&self, interface: &str) -> Result<Event, JsValue>[src]

The createEvent() method

MDN Documentation

This API requires the following crate features to be activated: Document, Event

pub fn create_node_iterator(&self, root: &Node) -> Result<NodeIterator, JsValue>[src]

The createNodeIterator() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node, NodeIterator

pub fn create_node_iterator_with_what_to_show(
    &self,
    root: &Node,
    what_to_show: u32
) -> Result<NodeIterator, JsValue>
[src]

The createNodeIterator() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node, NodeIterator

pub fn create_node_iterator_with_what_to_show_and_filter(
    &self,
    root: &Node,
    what_to_show: u32,
    filter: Option<&NodeFilter>
) -> Result<NodeIterator, JsValue>
[src]

The createNodeIterator() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node, NodeFilter, NodeIterator

pub fn create_processing_instruction(
    &self,
    target: &str,
    data: &str
) -> Result<ProcessingInstruction, JsValue>
[src]

The createProcessingInstruction() method

MDN Documentation

This API requires the following crate features to be activated: Document, ProcessingInstruction

pub fn create_range(&self) -> Result<Range, JsValue>[src]

The createRange() method

MDN Documentation

This API requires the following crate features to be activated: Document, Range

pub fn create_text_node(&self, data: &str) -> Text[src]

The createTextNode() method

MDN Documentation

This API requires the following crate features to be activated: Document, Text

pub fn create_tree_walker(&self, root: &Node) -> Result<TreeWalker, JsValue>[src]

The createTreeWalker() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node, TreeWalker

pub fn create_tree_walker_with_what_to_show(
    &self,
    root: &Node,
    what_to_show: u32
) -> Result<TreeWalker, JsValue>
[src]

The createTreeWalker() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node, TreeWalker

pub fn create_tree_walker_with_what_to_show_and_filter(
    &self,
    root: &Node,
    what_to_show: u32,
    filter: Option<&NodeFilter>
) -> Result<TreeWalker, JsValue>
[src]

The createTreeWalker() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node, NodeFilter, TreeWalker

pub fn enable_style_sheets_for_set(&self, name: Option<&str>)[src]

The enableStyleSheetsForSet() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn exit_fullscreen(&self)[src]

The exitFullscreen() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn exit_pointer_lock(&self)[src]

The exitPointerLock() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn get_animations(&self) -> Array[src]

The getAnimations() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn get_element_by_id(&self, element_id: &str) -> Option<Element>[src]

The getElementById() method

MDN Documentation

This API requires the following crate features to be activated: Document, Element

pub fn get_elements_by_class_name(&self, class_names: &str) -> HtmlCollection[src]

The getElementsByClassName() method

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

pub fn get_elements_by_name(&self, element_name: &str) -> NodeList[src]

The getElementsByName() method

MDN Documentation

This API requires the following crate features to be activated: Document, NodeList

pub fn get_elements_by_tag_name(&self, local_name: &str) -> HtmlCollection[src]

The getElementsByTagName() method

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

pub fn get_elements_by_tag_name_ns(
    &self,
    namespace: Option<&str>,
    local_name: &str
) -> Result<HtmlCollection, JsValue>
[src]

The getElementsByTagNameNS() method

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

pub fn get_selection(&self) -> Result<Option<Selection>, JsValue>[src]

The getSelection() method

MDN Documentation

This API requires the following crate features to be activated: Document, Selection

pub fn has_focus(&self) -> Result<bool, JsValue>[src]

The hasFocus() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn import_node(&self, node: &Node) -> Result<Node, JsValue>[src]

The importNode() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

pub fn import_node_with_deep(
    &self,
    node: &Node,
    deep: bool
) -> Result<Node, JsValue>
[src]

The importNode() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

pub fn query_selector(
    &self,
    selectors: &str
) -> Result<Option<Element>, JsValue>
[src]

The querySelector() method

MDN Documentation

This API requires the following crate features to be activated: Document, Element

pub fn query_selector_all(&self, selectors: &str) -> Result<NodeList, JsValue>[src]

The querySelectorAll() method

MDN Documentation

This API requires the following crate features to be activated: Document, NodeList

pub fn release_capture(&self)[src]

The releaseCapture() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn implementation(&self) -> Result<DomImplementation, JsValue>[src]

The implementation getter

MDN Documentation

This API requires the following crate features to be activated: Document, DomImplementation

pub fn url(&self) -> Result<String, JsValue>[src]

The URL getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn document_uri(&self) -> Result<String, JsValue>[src]

The documentURI getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn compat_mode(&self) -> String[src]

The compatMode getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn character_set(&self) -> String[src]

The characterSet getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn charset(&self) -> String[src]

The charset getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn input_encoding(&self) -> String[src]

The inputEncoding getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn content_type(&self) -> String[src]

The contentType getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn doctype(&self) -> Option<DocumentType>[src]

The doctype getter

MDN Documentation

This API requires the following crate features to be activated: Document, DocumentType

pub fn document_element(&self) -> Option<Element>[src]

The documentElement getter

MDN Documentation

This API requires the following crate features to be activated: Document, Element

pub fn location(&self) -> Option<Location>[src]

The location getter

MDN Documentation

This API requires the following crate features to be activated: Document, Location

pub fn referrer(&self) -> String[src]

The referrer getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn last_modified(&self) -> String[src]

The lastModified getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ready_state(&self) -> String[src]

The readyState getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn title(&self) -> String[src]

The title getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_title(&self, title: &str)[src]

The title setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn dir(&self) -> String[src]

The dir getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_dir(&self, dir: &str)[src]

The dir setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn body(&self) -> Option<HtmlElement>[src]

The body getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlElement

pub fn set_body(&self, body: Option<&HtmlElement>)[src]

The body setter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlElement

pub fn head(&self) -> Option<HtmlHeadElement>[src]

The head getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlHeadElement

pub fn images(&self) -> HtmlCollection[src]

The images getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

pub fn embeds(&self) -> HtmlCollection[src]

The embeds getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

pub fn plugins(&self) -> HtmlCollection[src]

The plugins getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

The links getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

pub fn forms(&self) -> HtmlCollection[src]

The forms getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

pub fn scripts(&self) -> HtmlCollection[src]

The scripts getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

pub fn default_view(&self) -> Option<Window>[src]

The defaultView getter

MDN Documentation

This API requires the following crate features to be activated: Document, Window

pub fn onreadystatechange(&self) -> Option<Function>[src]

The onreadystatechange getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onreadystatechange(&self, onreadystatechange: Option<&Function>)[src]

The onreadystatechange setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onbeforescriptexecute(&self) -> Option<Function>[src]

The onbeforescriptexecute getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onbeforescriptexecute(
    &self,
    onbeforescriptexecute: Option<&Function>
)
[src]

The onbeforescriptexecute setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onafterscriptexecute(&self) -> Option<Function>[src]

The onafterscriptexecute getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onafterscriptexecute(&self, onafterscriptexecute: Option<&Function>)[src]

The onafterscriptexecute setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onselectionchange(&self) -> Option<Function>[src]

The onselectionchange getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onselectionchange(&self, onselectionchange: Option<&Function>)[src]

The onselectionchange setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn current_script(&self) -> Option<Element>[src]

The currentScript getter

MDN Documentation

This API requires the following crate features to be activated: Document, Element

pub fn anchors(&self) -> HtmlCollection[src]

The anchors getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

pub fn applets(&self) -> HtmlCollection[src]

The applets getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

pub fn fullscreen(&self) -> bool[src]

The fullscreen getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn fullscreen_enabled(&self) -> bool[src]

The fullscreenEnabled getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onfullscreenchange(&self) -> Option<Function>[src]

The onfullscreenchange getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onfullscreenchange(&self, onfullscreenchange: Option<&Function>)[src]

The onfullscreenchange setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onfullscreenerror(&self) -> Option<Function>[src]

The onfullscreenerror getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onfullscreenerror(&self, onfullscreenerror: Option<&Function>)[src]

The onfullscreenerror setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onpointerlockchange(&self) -> Option<Function>[src]

The onpointerlockchange getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onpointerlockchange(&self, onpointerlockchange: Option<&Function>)[src]

The onpointerlockchange setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onpointerlockerror(&self) -> Option<Function>[src]

The onpointerlockerror getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onpointerlockerror(&self, onpointerlockerror: Option<&Function>)[src]

The onpointerlockerror setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn hidden(&self) -> bool[src]

The hidden getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn visibility_state(&self) -> VisibilityState[src]

The visibilityState getter

MDN Documentation

This API requires the following crate features to be activated: Document, VisibilityState

pub fn onvisibilitychange(&self) -> Option<Function>[src]

The onvisibilitychange getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onvisibilitychange(&self, onvisibilitychange: Option<&Function>)[src]

The onvisibilitychange setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn selected_style_sheet_set(&self) -> Option<String>[src]

The selectedStyleSheetSet getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_selected_style_sheet_set(
    &self,
    selected_style_sheet_set: Option<&str>
)
[src]

The selectedStyleSheetSet setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn last_style_sheet_set(&self) -> Option<String>[src]

The lastStyleSheetSet getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn preferred_style_sheet_set(&self) -> Option<String>[src]

The preferredStyleSheetSet getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn style_sheet_sets(&self) -> DomStringList[src]

The styleSheetSets getter

MDN Documentation

This API requires the following crate features to be activated: Document, DomStringList

pub fn scrolling_element(&self) -> Option<Element>[src]

The scrollingElement getter

MDN Documentation

This API requires the following crate features to be activated: Document, Element

pub fn timeline(&self) -> DocumentTimeline[src]

The timeline getter

MDN Documentation

This API requires the following crate features to be activated: Document, DocumentTimeline

pub fn root_element(&self) -> Option<SvgsvgElement>[src]

The rootElement getter

MDN Documentation

This API requires the following crate features to be activated: Document, SvgsvgElement

pub fn oncopy(&self) -> Option<Function>[src]

The oncopy getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_oncopy(&self, oncopy: Option<&Function>)[src]

The oncopy setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn oncut(&self) -> Option<Function>[src]

The oncut getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_oncut(&self, oncut: Option<&Function>)[src]

The oncut setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onpaste(&self) -> Option<Function>[src]

The onpaste getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onpaste(&self, onpaste: Option<&Function>)[src]

The onpaste setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn element_from_point(&self, x: f32, y: f32) -> Option<Element>[src]

The elementFromPoint() method

MDN Documentation

This API requires the following crate features to be activated: Document, Element

pub fn elements_from_point(&self, x: f32, y: f32) -> Array[src]

The elementsFromPoint() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn active_element(&self) -> Option<Element>[src]

The activeElement getter

MDN Documentation

This API requires the following crate features to be activated: Document, Element

pub fn style_sheets(&self) -> StyleSheetList[src]

The styleSheets getter

MDN Documentation

This API requires the following crate features to be activated: Document, StyleSheetList

pub fn pointer_lock_element(&self) -> Option<Element>[src]

The pointerLockElement getter

MDN Documentation

This API requires the following crate features to be activated: Document, Element

pub fn fullscreen_element(&self) -> Option<Element>[src]

The fullscreenElement getter

MDN Documentation

This API requires the following crate features to be activated: Document, Element

pub fn fonts(&self) -> FontFaceSet[src]

The fonts getter

MDN Documentation

This API requires the following crate features to be activated: Document, FontFaceSet

pub fn convert_point_from_node_with_text(
    &self,
    point: &DomPointInit,
    from: &Text
) -> Result<DomPoint, JsValue>
[src]

The convertPointFromNode() method

MDN Documentation

This API requires the following crate features to be activated: Document, DomPoint, DomPointInit, Text

pub fn convert_point_from_node_with_element(
    &self,
    point: &DomPointInit,
    from: &Element
) -> Result<DomPoint, JsValue>
[src]

The convertPointFromNode() method

MDN Documentation

This API requires the following crate features to be activated: Document, DomPoint, DomPointInit, Element

pub fn convert_point_from_node_with_document(
    &self,
    point: &DomPointInit,
    from: &Document
) -> Result<DomPoint, JsValue>
[src]

The convertPointFromNode() method

MDN Documentation

This API requires the following crate features to be activated: Document, DomPoint, DomPointInit

pub fn convert_point_from_node_with_text_and_options(
    &self,
    point: &DomPointInit,
    from: &Text,
    options: &ConvertCoordinateOptions
) -> Result<DomPoint, JsValue>
[src]

The convertPointFromNode() method

MDN Documentation

This API requires the following crate features to be activated: ConvertCoordinateOptions, Document, DomPoint, DomPointInit, Text

pub fn convert_point_from_node_with_element_and_options(
    &self,
    point: &DomPointInit,
    from: &Element,
    options: &ConvertCoordinateOptions
) -> Result<DomPoint, JsValue>
[src]

The convertPointFromNode() method

MDN Documentation

This API requires the following crate features to be activated: ConvertCoordinateOptions, Document, DomPoint, DomPointInit, Element

pub fn convert_point_from_node_with_document_and_options(
    &self,
    point: &DomPointInit,
    from: &Document,
    options: &ConvertCoordinateOptions
) -> Result<DomPoint, JsValue>
[src]

The convertPointFromNode() method

MDN Documentation

This API requires the following crate features to be activated: ConvertCoordinateOptions, Document, DomPoint, DomPointInit

pub fn convert_quad_from_node_with_text(
    &self,
    quad: &DomQuad,
    from: &Text
) -> Result<DomQuad, JsValue>
[src]

The convertQuadFromNode() method

MDN Documentation

This API requires the following crate features to be activated: Document, DomQuad, Text

pub fn convert_quad_from_node_with_element(
    &self,
    quad: &DomQuad,
    from: &Element
) -> Result<DomQuad, JsValue>
[src]

The convertQuadFromNode() method

MDN Documentation

This API requires the following crate features to be activated: Document, DomQuad, Element

pub fn convert_quad_from_node_with_document(
    &self,
    quad: &DomQuad,
    from: &Document
) -> Result<DomQuad, JsValue>
[src]

The convertQuadFromNode() method

MDN Documentation

This API requires the following crate features to be activated: Document, DomQuad

pub fn convert_quad_from_node_with_text_and_options(
    &self,
    quad: &DomQuad,
    from: &Text,
    options: &ConvertCoordinateOptions
) -> Result<DomQuad, JsValue>
[src]

The convertQuadFromNode() method

MDN Documentation

This API requires the following crate features to be activated: ConvertCoordinateOptions, Document, DomQuad, Text

pub fn convert_quad_from_node_with_element_and_options(
    &self,
    quad: &DomQuad,
    from: &Element,
    options: &ConvertCoordinateOptions
) -> Result<DomQuad, JsValue>
[src]

The convertQuadFromNode() method

MDN Documentation

This API requires the following crate features to be activated: ConvertCoordinateOptions, Document, DomQuad, Element

pub fn convert_quad_from_node_with_document_and_options(
    &self,
    quad: &DomQuad,
    from: &Document,
    options: &ConvertCoordinateOptions
) -> Result<DomQuad, JsValue>
[src]

The convertQuadFromNode() method

MDN Documentation

This API requires the following crate features to be activated: ConvertCoordinateOptions, Document, DomQuad

pub fn convert_rect_from_node_with_text(
    &self,
    rect: &DomRectReadOnly,
    from: &Text
) -> Result<DomQuad, JsValue>
[src]

The convertRectFromNode() method

MDN Documentation

This API requires the following crate features to be activated: Document, DomQuad, DomRectReadOnly, Text

pub fn convert_rect_from_node_with_element(
    &self,
    rect: &DomRectReadOnly,
    from: &Element
) -> Result<DomQuad, JsValue>
[src]

The convertRectFromNode() method

MDN Documentation

This API requires the following crate features to be activated: Document, DomQuad, DomRectReadOnly, Element

pub fn convert_rect_from_node_with_document(
    &self,
    rect: &DomRectReadOnly,
    from: &Document
) -> Result<DomQuad, JsValue>
[src]

The convertRectFromNode() method

MDN Documentation

This API requires the following crate features to be activated: Document, DomQuad, DomRectReadOnly

pub fn convert_rect_from_node_with_text_and_options(
    &self,
    rect: &DomRectReadOnly,
    from: &Text,
    options: &ConvertCoordinateOptions
) -> Result<DomQuad, JsValue>
[src]

The convertRectFromNode() method

MDN Documentation

This API requires the following crate features to be activated: ConvertCoordinateOptions, Document, DomQuad, DomRectReadOnly, Text

pub fn convert_rect_from_node_with_element_and_options(
    &self,
    rect: &DomRectReadOnly,
    from: &Element,
    options: &ConvertCoordinateOptions
) -> Result<DomQuad, JsValue>
[src]

The convertRectFromNode() method

MDN Documentation

This API requires the following crate features to be activated: ConvertCoordinateOptions, Document, DomQuad, DomRectReadOnly, Element

pub fn convert_rect_from_node_with_document_and_options(
    &self,
    rect: &DomRectReadOnly,
    from: &Document,
    options: &ConvertCoordinateOptions
) -> Result<DomQuad, JsValue>
[src]

The convertRectFromNode() method

MDN Documentation

This API requires the following crate features to be activated: ConvertCoordinateOptions, Document, DomQuad, DomRectReadOnly

pub fn get_box_quads(&self) -> Result<Array, JsValue>[src]

The getBoxQuads() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn get_box_quads_with_options(
    &self,
    options: &BoxQuadOptions
) -> Result<Array, JsValue>
[src]

The getBoxQuads() method

MDN Documentation

This API requires the following crate features to be activated: BoxQuadOptions, Document

pub fn onabort(&self) -> Option<Function>[src]

The onabort getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onabort(&self, onabort: Option<&Function>)[src]

The onabort setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onblur(&self) -> Option<Function>[src]

The onblur getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onblur(&self, onblur: Option<&Function>)[src]

The onblur setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onfocus(&self) -> Option<Function>[src]

The onfocus getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onfocus(&self, onfocus: Option<&Function>)[src]

The onfocus setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onauxclick(&self) -> Option<Function>[src]

The onauxclick getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onauxclick(&self, onauxclick: Option<&Function>)[src]

The onauxclick setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn oncanplay(&self) -> Option<Function>[src]

The oncanplay getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_oncanplay(&self, oncanplay: Option<&Function>)[src]

The oncanplay setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn oncanplaythrough(&self) -> Option<Function>[src]

The oncanplaythrough getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_oncanplaythrough(&self, oncanplaythrough: Option<&Function>)[src]

The oncanplaythrough setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onchange(&self) -> Option<Function>[src]

The onchange getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onchange(&self, onchange: Option<&Function>)[src]

The onchange setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onclick(&self) -> Option<Function>[src]

The onclick getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onclick(&self, onclick: Option<&Function>)[src]

The onclick setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onclose(&self) -> Option<Function>[src]

The onclose getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onclose(&self, onclose: Option<&Function>)[src]

The onclose setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn oncontextmenu(&self) -> Option<Function>[src]

The oncontextmenu getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_oncontextmenu(&self, oncontextmenu: Option<&Function>)[src]

The oncontextmenu setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ondblclick(&self) -> Option<Function>[src]

The ondblclick getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ondblclick(&self, ondblclick: Option<&Function>)[src]

The ondblclick setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ondrag(&self) -> Option<Function>[src]

The ondrag getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ondrag(&self, ondrag: Option<&Function>)[src]

The ondrag setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ondragend(&self) -> Option<Function>[src]

The ondragend getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ondragend(&self, ondragend: Option<&Function>)[src]

The ondragend setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ondragenter(&self) -> Option<Function>[src]

The ondragenter getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ondragenter(&self, ondragenter: Option<&Function>)[src]

The ondragenter setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ondragexit(&self) -> Option<Function>[src]

The ondragexit getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ondragexit(&self, ondragexit: Option<&Function>)[src]

The ondragexit setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ondragleave(&self) -> Option<Function>[src]

The ondragleave getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ondragleave(&self, ondragleave: Option<&Function>)[src]

The ondragleave setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ondragover(&self) -> Option<Function>[src]

The ondragover getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ondragover(&self, ondragover: Option<&Function>)[src]

The ondragover setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ondragstart(&self) -> Option<Function>[src]

The ondragstart getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ondragstart(&self, ondragstart: Option<&Function>)[src]

The ondragstart setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ondrop(&self) -> Option<Function>[src]

The ondrop getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ondrop(&self, ondrop: Option<&Function>)[src]

The ondrop setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ondurationchange(&self) -> Option<Function>[src]

The ondurationchange getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ondurationchange(&self, ondurationchange: Option<&Function>)[src]

The ondurationchange setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onemptied(&self) -> Option<Function>[src]

The onemptied getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onemptied(&self, onemptied: Option<&Function>)[src]

The onemptied setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onended(&self) -> Option<Function>[src]

The onended getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onended(&self, onended: Option<&Function>)[src]

The onended setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn oninput(&self) -> Option<Function>[src]

The oninput getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_oninput(&self, oninput: Option<&Function>)[src]

The oninput setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn oninvalid(&self) -> Option<Function>[src]

The oninvalid getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_oninvalid(&self, oninvalid: Option<&Function>)[src]

The oninvalid setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onkeydown(&self) -> Option<Function>[src]

The onkeydown getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onkeydown(&self, onkeydown: Option<&Function>)[src]

The onkeydown setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onkeypress(&self) -> Option<Function>[src]

The onkeypress getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onkeypress(&self, onkeypress: Option<&Function>)[src]

The onkeypress setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onkeyup(&self) -> Option<Function>[src]

The onkeyup getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onkeyup(&self, onkeyup: Option<&Function>)[src]

The onkeyup setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onload(&self) -> Option<Function>[src]

The onload getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onload(&self, onload: Option<&Function>)[src]

The onload setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onloadeddata(&self) -> Option<Function>[src]

The onloadeddata getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onloadeddata(&self, onloadeddata: Option<&Function>)[src]

The onloadeddata setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onloadedmetadata(&self) -> Option<Function>[src]

The onloadedmetadata getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onloadedmetadata(&self, onloadedmetadata: Option<&Function>)[src]

The onloadedmetadata setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onloadend(&self) -> Option<Function>[src]

The onloadend getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onloadend(&self, onloadend: Option<&Function>)[src]

The onloadend setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onloadstart(&self) -> Option<Function>[src]

The onloadstart getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onloadstart(&self, onloadstart: Option<&Function>)[src]

The onloadstart setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onmousedown(&self) -> Option<Function>[src]

The onmousedown getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onmousedown(&self, onmousedown: Option<&Function>)[src]

The onmousedown setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onmouseenter(&self) -> Option<Function>[src]

The onmouseenter getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onmouseenter(&self, onmouseenter: Option<&Function>)[src]

The onmouseenter setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onmouseleave(&self) -> Option<Function>[src]

The onmouseleave getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onmouseleave(&self, onmouseleave: Option<&Function>)[src]

The onmouseleave setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onmousemove(&self) -> Option<Function>[src]

The onmousemove getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onmousemove(&self, onmousemove: Option<&Function>)[src]

The onmousemove setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onmouseout(&self) -> Option<Function>[src]

The onmouseout getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onmouseout(&self, onmouseout: Option<&Function>)[src]

The onmouseout setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onmouseover(&self) -> Option<Function>[src]

The onmouseover getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onmouseover(&self, onmouseover: Option<&Function>)[src]

The onmouseover setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onmouseup(&self) -> Option<Function>[src]

The onmouseup getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onmouseup(&self, onmouseup: Option<&Function>)[src]

The onmouseup setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onwheel(&self) -> Option<Function>[src]

The onwheel getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onwheel(&self, onwheel: Option<&Function>)[src]

The onwheel setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onpause(&self) -> Option<Function>[src]

The onpause getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onpause(&self, onpause: Option<&Function>)[src]

The onpause setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onplay(&self) -> Option<Function>[src]

The onplay getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onplay(&self, onplay: Option<&Function>)[src]

The onplay setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onplaying(&self) -> Option<Function>[src]

The onplaying getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onplaying(&self, onplaying: Option<&Function>)[src]

The onplaying setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onprogress(&self) -> Option<Function>[src]

The onprogress getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onprogress(&self, onprogress: Option<&Function>)[src]

The onprogress setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onratechange(&self) -> Option<Function>[src]

The onratechange getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onratechange(&self, onratechange: Option<&Function>)[src]

The onratechange setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onreset(&self) -> Option<Function>[src]

The onreset getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onreset(&self, onreset: Option<&Function>)[src]

The onreset setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onresize(&self) -> Option<Function>[src]

The onresize getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onresize(&self, onresize: Option<&Function>)[src]

The onresize setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onscroll(&self) -> Option<Function>[src]

The onscroll getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onscroll(&self, onscroll: Option<&Function>)[src]

The onscroll setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onseeked(&self) -> Option<Function>[src]

The onseeked getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onseeked(&self, onseeked: Option<&Function>)[src]

The onseeked setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onseeking(&self) -> Option<Function>[src]

The onseeking getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onseeking(&self, onseeking: Option<&Function>)[src]

The onseeking setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onselect(&self) -> Option<Function>[src]

The onselect getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onselect(&self, onselect: Option<&Function>)[src]

The onselect setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onshow(&self) -> Option<Function>[src]

The onshow getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onshow(&self, onshow: Option<&Function>)[src]

The onshow setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onstalled(&self) -> Option<Function>[src]

The onstalled getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onstalled(&self, onstalled: Option<&Function>)[src]

The onstalled setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onsubmit(&self) -> Option<Function>[src]

The onsubmit getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onsubmit(&self, onsubmit: Option<&Function>)[src]

The onsubmit setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onsuspend(&self) -> Option<Function>[src]

The onsuspend getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onsuspend(&self, onsuspend: Option<&Function>)[src]

The onsuspend setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ontimeupdate(&self) -> Option<Function>[src]

The ontimeupdate getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ontimeupdate(&self, ontimeupdate: Option<&Function>)[src]

The ontimeupdate setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onvolumechange(&self) -> Option<Function>[src]

The onvolumechange getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onvolumechange(&self, onvolumechange: Option<&Function>)[src]

The onvolumechange setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onwaiting(&self) -> Option<Function>[src]

The onwaiting getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onwaiting(&self, onwaiting: Option<&Function>)[src]

The onwaiting setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onselectstart(&self) -> Option<Function>[src]

The onselectstart getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onselectstart(&self, onselectstart: Option<&Function>)[src]

The onselectstart setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ontoggle(&self) -> Option<Function>[src]

The ontoggle getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ontoggle(&self, ontoggle: Option<&Function>)[src]

The ontoggle setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onpointercancel(&self) -> Option<Function>[src]

The onpointercancel getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onpointercancel(&self, onpointercancel: Option<&Function>)[src]

The onpointercancel setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onpointerdown(&self) -> Option<Function>[src]

The onpointerdown getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onpointerdown(&self, onpointerdown: Option<&Function>)[src]

The onpointerdown setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onpointerup(&self) -> Option<Function>[src]

The onpointerup getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onpointerup(&self, onpointerup: Option<&Function>)[src]

The onpointerup setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onpointermove(&self) -> Option<Function>[src]

The onpointermove getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onpointermove(&self, onpointermove: Option<&Function>)[src]

The onpointermove setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onpointerout(&self) -> Option<Function>[src]

The onpointerout getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onpointerout(&self, onpointerout: Option<&Function>)[src]

The onpointerout setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onpointerover(&self) -> Option<Function>[src]

The onpointerover getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onpointerover(&self, onpointerover: Option<&Function>)[src]

The onpointerover setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onpointerenter(&self) -> Option<Function>[src]

The onpointerenter getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onpointerenter(&self, onpointerenter: Option<&Function>)[src]

The onpointerenter setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onpointerleave(&self) -> Option<Function>[src]

The onpointerleave getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onpointerleave(&self, onpointerleave: Option<&Function>)[src]

The onpointerleave setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ongotpointercapture(&self) -> Option<Function>[src]

The ongotpointercapture getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ongotpointercapture(&self, ongotpointercapture: Option<&Function>)[src]

The ongotpointercapture setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onlostpointercapture(&self) -> Option<Function>[src]

The onlostpointercapture getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onlostpointercapture(&self, onlostpointercapture: Option<&Function>)[src]

The onlostpointercapture setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onanimationcancel(&self) -> Option<Function>[src]

The onanimationcancel getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onanimationcancel(&self, onanimationcancel: Option<&Function>)[src]

The onanimationcancel setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onanimationend(&self) -> Option<Function>[src]

The onanimationend getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onanimationend(&self, onanimationend: Option<&Function>)[src]

The onanimationend setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onanimationiteration(&self) -> Option<Function>[src]

The onanimationiteration getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onanimationiteration(&self, onanimationiteration: Option<&Function>)[src]

The onanimationiteration setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onanimationstart(&self) -> Option<Function>[src]

The onanimationstart getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onanimationstart(&self, onanimationstart: Option<&Function>)[src]

The onanimationstart setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ontransitioncancel(&self) -> Option<Function>[src]

The ontransitioncancel getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ontransitioncancel(&self, ontransitioncancel: Option<&Function>)[src]

The ontransitioncancel setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ontransitionend(&self) -> Option<Function>[src]

The ontransitionend getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ontransitionend(&self, ontransitionend: Option<&Function>)[src]

The ontransitionend setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ontransitionrun(&self) -> Option<Function>[src]

The ontransitionrun getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ontransitionrun(&self, ontransitionrun: Option<&Function>)[src]

The ontransitionrun setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ontransitionstart(&self) -> Option<Function>[src]

The ontransitionstart getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ontransitionstart(&self, ontransitionstart: Option<&Function>)[src]

The ontransitionstart setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onwebkitanimationend(&self) -> Option<Function>[src]

The onwebkitanimationend getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onwebkitanimationend(&self, onwebkitanimationend: Option<&Function>)[src]

The onwebkitanimationend setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onwebkitanimationiteration(&self) -> Option<Function>[src]

The onwebkitanimationiteration getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onwebkitanimationiteration(
    &self,
    onwebkitanimationiteration: Option<&Function>
)
[src]

The onwebkitanimationiteration setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onwebkitanimationstart(&self) -> Option<Function>[src]

The onwebkitanimationstart getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onwebkitanimationstart(
    &self,
    onwebkitanimationstart: Option<&Function>
)
[src]

The onwebkitanimationstart setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onwebkittransitionend(&self) -> Option<Function>[src]

The onwebkittransitionend getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onwebkittransitionend(
    &self,
    onwebkittransitionend: Option<&Function>
)
[src]

The onwebkittransitionend setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn onerror(&self) -> Option<Function>[src]

The onerror getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_onerror(&self, onerror: Option<&Function>)[src]

The onerror setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn append_with_node(&self, nodes: &Array) -> Result<(), JsValue>[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn append_with_node_0(&self) -> Result<(), JsValue>[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn append_with_node_1(&self, nodes_1: &Node) -> Result<(), JsValue>[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

pub fn append_with_node_2(
    &self,
    nodes_1: &Node,
    nodes_2: &Node
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

pub fn append_with_node_3(
    &self,
    nodes_1: &Node,
    nodes_2: &Node,
    nodes_3: &Node
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

pub fn append_with_node_4(
    &self,
    nodes_1: &Node,
    nodes_2: &Node,
    nodes_3: &Node,
    nodes_4: &Node
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

pub fn append_with_node_5(
    &self,
    nodes_1: &Node,
    nodes_2: &Node,
    nodes_3: &Node,
    nodes_4: &Node,
    nodes_5: &Node
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

pub fn append_with_node_6(
    &self,
    nodes_1: &Node,
    nodes_2: &Node,
    nodes_3: &Node,
    nodes_4: &Node,
    nodes_5: &Node,
    nodes_6: &Node
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

pub fn append_with_node_7(
    &self,
    nodes_1: &Node,
    nodes_2: &Node,
    nodes_3: &Node,
    nodes_4: &Node,
    nodes_5: &Node,
    nodes_6: &Node,
    nodes_7: &Node
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

pub fn append_with_str(&self, nodes: &Array) -> Result<(), JsValue>[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn append_with_str_0(&self) -> Result<(), JsValue>[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn append_with_str_1(&self, nodes_1: &str) -> Result<(), JsValue>[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn append_with_str_2(
    &self,
    nodes_1: &str,
    nodes_2: &str
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn append_with_str_3(
    &self,
    nodes_1: &str,
    nodes_2: &str,
    nodes_3: &str
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn append_with_str_4(
    &self,
    nodes_1: &str,
    nodes_2: &str,
    nodes_3: &str,
    nodes_4: &str
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn append_with_str_5(
    &self,
    nodes_1: &str,
    nodes_2: &str,
    nodes_3: &str,
    nodes_4: &str,
    nodes_5: &str
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn append_with_str_6(
    &self,
    nodes_1: &str,
    nodes_2: &str,
    nodes_3: &str,
    nodes_4: &str,
    nodes_5: &str,
    nodes_6: &str
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn append_with_str_7(
    &self,
    nodes_1: &str,
    nodes_2: &str,
    nodes_3: &str,
    nodes_4: &str,
    nodes_5: &str,
    nodes_6: &str,
    nodes_7: &str
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn prepend_with_node(&self, nodes: &Array) -> Result<(), JsValue>[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn prepend_with_node_0(&self) -> Result<(), JsValue>[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn prepend_with_node_1(&self, nodes_1: &Node) -> Result<(), JsValue>[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

pub fn prepend_with_node_2(
    &self,
    nodes_1: &Node,
    nodes_2: &Node
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

pub fn prepend_with_node_3(
    &self,
    nodes_1: &Node,
    nodes_2: &Node,
    nodes_3: &Node
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

pub fn prepend_with_node_4(
    &self,
    nodes_1: &Node,
    nodes_2: &Node,
    nodes_3: &Node,
    nodes_4: &Node
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

pub fn prepend_with_node_5(
    &self,
    nodes_1: &Node,
    nodes_2: &Node,
    nodes_3: &Node,
    nodes_4: &Node,
    nodes_5: &Node
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

pub fn prepend_with_node_6(
    &self,
    nodes_1: &Node,
    nodes_2: &Node,
    nodes_3: &Node,
    nodes_4: &Node,
    nodes_5: &Node,
    nodes_6: &Node
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

pub fn prepend_with_node_7(
    &self,
    nodes_1: &Node,
    nodes_2: &Node,
    nodes_3: &Node,
    nodes_4: &Node,
    nodes_5: &Node,
    nodes_6: &Node,
    nodes_7: &Node
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

pub fn prepend_with_str(&self, nodes: &Array) -> Result<(), JsValue>[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn prepend_with_str_0(&self) -> Result<(), JsValue>[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn prepend_with_str_1(&self, nodes_1: &str) -> Result<(), JsValue>[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn prepend_with_str_2(
    &self,
    nodes_1: &str,
    nodes_2: &str
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn prepend_with_str_3(
    &self,
    nodes_1: &str,
    nodes_2: &str,
    nodes_3: &str
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn prepend_with_str_4(
    &self,
    nodes_1: &str,
    nodes_2: &str,
    nodes_3: &str,
    nodes_4: &str
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn prepend_with_str_5(
    &self,
    nodes_1: &str,
    nodes_2: &str,
    nodes_3: &str,
    nodes_4: &str,
    nodes_5: &str
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn prepend_with_str_6(
    &self,
    nodes_1: &str,
    nodes_2: &str,
    nodes_3: &str,
    nodes_4: &str,
    nodes_5: &str,
    nodes_6: &str
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn prepend_with_str_7(
    &self,
    nodes_1: &str,
    nodes_2: &str,
    nodes_3: &str,
    nodes_4: &str,
    nodes_5: &str,
    nodes_6: &str,
    nodes_7: &str
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn children(&self) -> HtmlCollection[src]

The children getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

pub fn first_element_child(&self) -> Option<Element>[src]

The firstElementChild getter

MDN Documentation

This API requires the following crate features to be activated: Document, Element

pub fn last_element_child(&self) -> Option<Element>[src]

The lastElementChild getter

MDN Documentation

This API requires the following crate features to be activated: Document, Element

pub fn child_element_count(&self) -> u32[src]

The childElementCount getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ontouchstart(&self) -> Option<Function>[src]

The ontouchstart getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ontouchstart(&self, ontouchstart: Option<&Function>)[src]

The ontouchstart setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ontouchend(&self) -> Option<Function>[src]

The ontouchend getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ontouchend(&self, ontouchend: Option<&Function>)[src]

The ontouchend setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ontouchmove(&self) -> Option<Function>[src]

The ontouchmove getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ontouchmove(&self, ontouchmove: Option<&Function>)[src]

The ontouchmove setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn ontouchcancel(&self) -> Option<Function>[src]

The ontouchcancel getter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn set_ontouchcancel(&self, ontouchcancel: Option<&Function>)[src]

The ontouchcancel setter

MDN Documentation

This API requires the following crate features to be activated: Document

pub fn create_expression(
    &self,
    expression: &str
) -> Result<XPathExpression, JsValue>
[src]

The createExpression() method

MDN Documentation

This API requires the following crate features to be activated: Document, XPathExpression

pub fn create_expression_with_opt_callback(
    &self,
    expression: &str,
    resolver: Option<&Function>
) -> Result<XPathExpression, JsValue>
[src]

The createExpression() method

MDN Documentation

This API requires the following crate features to be activated: Document, XPathExpression

pub fn create_expression_with_opt_x_path_ns_resolver(
    &self,
    expression: &str,
    resolver: Option<&XPathNsResolver>
) -> Result<XPathExpression, JsValue>
[src]

The createExpression() method

MDN Documentation

This API requires the following crate features to be activated: Document, XPathExpression, XPathNsResolver

pub fn create_ns_resolver(&self, node_resolver: &Node) -> Node[src]

The createNSResolver() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

pub fn evaluate(
    &self,
    expression: &str,
    context_node: &Node
) -> Result<XPathResult, JsValue>
[src]

The evaluate() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node, XPathResult

pub fn evaluate_with_opt_callback(
    &self,
    expression: &str,
    context_node: &Node,
    resolver: Option<&Function>
) -> Result<XPathResult, JsValue>
[src]

The evaluate() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node, XPathResult

pub fn evaluate_with_opt_x_path_ns_resolver(
    &self,
    expression: &str,
    context_node: &Node,
    resolver: Option<&XPathNsResolver>
) -> Result<XPathResult, JsValue>
[src]

The evaluate() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node, XPathNsResolver, XPathResult

pub fn evaluate_with_opt_callback_and_type(
    &self,
    expression: &str,
    context_node: &Node,
    resolver: Option<&Function>,
    type_: u16
) -> Result<XPathResult, JsValue>
[src]

The evaluate() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node, XPathResult

pub fn evaluate_with_opt_x_path_ns_resolver_and_type(
    &self,
    expression: &str,
    context_node: &Node,
    resolver: Option<&XPathNsResolver>,
    type_: u16
) -> Result<XPathResult, JsValue>
[src]

The evaluate() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node, XPathNsResolver, XPathResult

pub fn evaluate_with_opt_callback_and_type_and_result(
    &self,
    expression: &str,
    context_node: &Node,
    resolver: Option<&Function>,
    type_: u16,
    result: Option<&Object>
) -> Result<XPathResult, JsValue>
[src]

The evaluate() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node, XPathResult

pub fn evaluate_with_opt_x_path_ns_resolver_and_type_and_result(
    &self,
    expression: &str,
    context_node: &Node,
    resolver: Option<&XPathNsResolver>,
    type_: u16,
    result: Option<&Object>
) -> Result<XPathResult, JsValue>
[src]

The evaluate() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node, XPathNsResolver, XPathResult

Trait Implementations

impl AsRef<JsValue> for HtmlDocument[src]

impl AsRef<HtmlDocument> for HtmlDocument[src]

impl AsRef<Document> for HtmlDocument[src]

impl AsRef<Node> for HtmlDocument[src]

impl AsRef<EventTarget> for HtmlDocument[src]

impl AsRef<Object> for HtmlDocument[src]

impl From<JsValue> for HtmlDocument[src]

impl From<HtmlDocument> for JsValue[src]

impl From<HtmlDocument> for Document[src]

impl From<HtmlDocument> for Node[src]

impl From<HtmlDocument> for EventTarget[src]

impl From<HtmlDocument> for Object[src]

impl Clone for HtmlDocument[src]

impl Eq for HtmlDocument[src]

impl PartialEq<HtmlDocument> for HtmlDocument[src]

impl Debug for HtmlDocument[src]

impl Deref for HtmlDocument[src]

type Target = Document

The resulting type after dereferencing.

impl StructuralPartialEq for HtmlDocument[src]

impl StructuralEq for HtmlDocument[src]

impl JsCast for HtmlDocument[src]

impl RefFromWasmAbi for HtmlDocument[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<HtmlDocument>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl FromWasmAbi for HtmlDocument[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for HtmlDocument[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a HtmlDocument[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl WasmDescribe for HtmlDocument[src]

impl OptionFromWasmAbi for HtmlDocument[src]

impl OptionIntoWasmAbi for HtmlDocument[src]

impl<'a> OptionIntoWasmAbi for &'a HtmlDocument[src]

Auto Trait Implementations

impl !Send for HtmlDocument

impl !Sync for HtmlDocument

impl Unpin for HtmlDocument

impl UnwindSafe for HtmlDocument

impl RefUnwindSafe for HtmlDocument

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi