[−][src]Struct web_sys::XmlDocument
The XMLDocument object
This API requires the following crate features to be activated: XmlDocument
Methods
impl XmlDocument[src]
pub fn load(&self, url: &str) -> Result<bool, JsValue>[src]
The load() method
This API requires the following crate features to be activated: XmlDocument
impl XmlDocument[src]
pub fn async(&self) -> bool[src]
The async getter
This API requires the following crate features to be activated: XmlDocument
impl XmlDocument[src]
pub fn set_async(&self, async: bool)[src]
The async setter
This API requires the following crate features to be activated: XmlDocument
Methods from Deref<Target = Document>
pub fn adopt_node(&self, node: &Node) -> Result<Node, JsValue>[src]
The adoptNode() method
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
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
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]
&self,
namespace: Option<&str>,
name: &str
) -> Result<Attr, JsValue>
The createAttributeNS() method
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
This API requires the following crate features to be activated: CdataSection, Document
pub fn create_comment(&self, data: &str) -> Comment[src]
The createComment() method
This API requires the following crate features to be activated: Comment, Document
pub fn create_document_fragment(&self) -> DocumentFragment[src]
The createDocumentFragment() method
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
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]
&self,
local_name: &str,
options: &ElementCreationOptions
) -> Result<Element, JsValue>
The createElement() method
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]
&self,
local_name: &str,
options: &str
) -> Result<Element, JsValue>
The createElement() method
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]
&self,
namespace: Option<&str>,
qualified_name: &str
) -> Result<Element, JsValue>
The createElementNS() method
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]
&self,
namespace: Option<&str>,
qualified_name: &str,
options: &ElementCreationOptions
) -> Result<Element, JsValue>
The createElementNS() method
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]
&self,
namespace: Option<&str>,
qualified_name: &str,
options: &str
) -> Result<Element, JsValue>
The createElementNS() method
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
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
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]
&self,
root: &Node,
what_to_show: u32
) -> Result<NodeIterator, JsValue>
The createNodeIterator() method
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]
&self,
root: &Node,
what_to_show: u32,
filter: Option<&NodeFilter>
) -> Result<NodeIterator, JsValue>
The createNodeIterator() method
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]
&self,
target: &str,
data: &str
) -> Result<ProcessingInstruction, JsValue>
The createProcessingInstruction() method
This API requires the following crate features to be activated: Document, ProcessingInstruction
pub fn create_range(&self) -> Result<Range, JsValue>[src]
The createRange() method
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
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
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]
&self,
root: &Node,
what_to_show: u32
) -> Result<TreeWalker, JsValue>
The createTreeWalker() method
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]
&self,
root: &Node,
what_to_show: u32,
filter: Option<&NodeFilter>
) -> Result<TreeWalker, JsValue>
The createTreeWalker() method
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
This API requires the following crate features to be activated: Document
pub fn exit_fullscreen(&self)[src]
The exitFullscreen() method
This API requires the following crate features to be activated: Document
pub fn exit_pointer_lock(&self)[src]
The exitPointerLock() method
This API requires the following crate features to be activated: Document
pub fn get_animations(&self) -> Array[src]
The getAnimations() method
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
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
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
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
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]
&self,
namespace: Option<&str>,
local_name: &str
) -> Result<HtmlCollection, JsValue>
The getElementsByTagNameNS() method
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
This API requires the following crate features to be activated: Document, Selection
pub fn has_focus(&self) -> Result<bool, JsValue>[src]
The hasFocus() method
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
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]
&self,
node: &Node,
deep: bool
) -> Result<Node, JsValue>
The importNode() method
This API requires the following crate features to be activated: Document, Node
pub fn query_selector(
&self,
selectors: &str
) -> Result<Option<Element>, JsValue>[src]
&self,
selectors: &str
) -> Result<Option<Element>, JsValue>
The querySelector() method
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
This API requires the following crate features to be activated: Document, NodeList
pub fn release_capture(&self)[src]
The releaseCapture() method
This API requires the following crate features to be activated: Document
pub fn implementation(&self) -> Result<DomImplementation, JsValue>[src]
The implementation getter
This API requires the following crate features to be activated: Document, DomImplementation
pub fn url(&self) -> Result<String, JsValue>[src]
The URL getter
This API requires the following crate features to be activated: Document
pub fn document_uri(&self) -> Result<String, JsValue>[src]
The documentURI getter
This API requires the following crate features to be activated: Document
pub fn compat_mode(&self) -> String[src]
The compatMode getter
This API requires the following crate features to be activated: Document
pub fn character_set(&self) -> String[src]
The characterSet getter
This API requires the following crate features to be activated: Document
pub fn charset(&self) -> String[src]
The charset getter
This API requires the following crate features to be activated: Document
pub fn input_encoding(&self) -> String[src]
The inputEncoding getter
This API requires the following crate features to be activated: Document
pub fn content_type(&self) -> String[src]
The contentType getter
This API requires the following crate features to be activated: Document
pub fn doctype(&self) -> Option<DocumentType>[src]
The doctype getter
This API requires the following crate features to be activated: Document, DocumentType
pub fn document_element(&self) -> Option<Element>[src]
The documentElement getter
This API requires the following crate features to be activated: Document, Element
pub fn location(&self) -> Option<Location>[src]
The location getter
This API requires the following crate features to be activated: Document, Location
pub fn referrer(&self) -> String[src]
The referrer getter
This API requires the following crate features to be activated: Document
pub fn last_modified(&self) -> String[src]
The lastModified getter
This API requires the following crate features to be activated: Document
pub fn ready_state(&self) -> String[src]
The readyState getter
This API requires the following crate features to be activated: Document
pub fn title(&self) -> String[src]
The title getter
This API requires the following crate features to be activated: Document
pub fn set_title(&self, title: &str)[src]
The title setter
This API requires the following crate features to be activated: Document
pub fn dir(&self) -> String[src]
The dir getter
This API requires the following crate features to be activated: Document
pub fn set_dir(&self, dir: &str)[src]
The dir setter
This API requires the following crate features to be activated: Document
pub fn body(&self) -> Option<HtmlElement>[src]
The body getter
This API requires the following crate features to be activated: Document, HtmlElement
pub fn set_body(&self, body: Option<&HtmlElement>)[src]
The body setter
This API requires the following crate features to be activated: Document, HtmlElement
pub fn head(&self) -> Option<HtmlHeadElement>[src]
The head getter
This API requires the following crate features to be activated: Document, HtmlHeadElement
pub fn images(&self) -> HtmlCollection[src]
The images getter
This API requires the following crate features to be activated: Document, HtmlCollection
pub fn embeds(&self) -> HtmlCollection[src]
The embeds getter
This API requires the following crate features to be activated: Document, HtmlCollection
pub fn plugins(&self) -> HtmlCollection[src]
The plugins getter
This API requires the following crate features to be activated: Document, HtmlCollection
pub fn links(&self) -> HtmlCollection[src]
The links getter
This API requires the following crate features to be activated: Document, HtmlCollection
pub fn forms(&self) -> HtmlCollection[src]
The forms getter
This API requires the following crate features to be activated: Document, HtmlCollection
pub fn scripts(&self) -> HtmlCollection[src]
The scripts getter
This API requires the following crate features to be activated: Document, HtmlCollection
pub fn default_view(&self) -> Option<Window>[src]
The defaultView getter
This API requires the following crate features to be activated: Document, Window
pub fn onreadystatechange(&self) -> Option<Function>[src]
The onreadystatechange getter
This API requires the following crate features to be activated: Document
pub fn set_onreadystatechange(&self, onreadystatechange: Option<&Function>)[src]
The onreadystatechange setter
This API requires the following crate features to be activated: Document
pub fn onbeforescriptexecute(&self) -> Option<Function>[src]
The onbeforescriptexecute getter
This API requires the following crate features to be activated: Document
pub fn set_onbeforescriptexecute(
&self,
onbeforescriptexecute: Option<&Function>
)[src]
&self,
onbeforescriptexecute: Option<&Function>
)
The onbeforescriptexecute setter
This API requires the following crate features to be activated: Document
pub fn onafterscriptexecute(&self) -> Option<Function>[src]
The onafterscriptexecute getter
This API requires the following crate features to be activated: Document
pub fn set_onafterscriptexecute(&self, onafterscriptexecute: Option<&Function>)[src]
The onafterscriptexecute setter
This API requires the following crate features to be activated: Document
pub fn onselectionchange(&self) -> Option<Function>[src]
The onselectionchange getter
This API requires the following crate features to be activated: Document
pub fn set_onselectionchange(&self, onselectionchange: Option<&Function>)[src]
The onselectionchange setter
This API requires the following crate features to be activated: Document
pub fn current_script(&self) -> Option<Element>[src]
The currentScript getter
This API requires the following crate features to be activated: Document, Element
pub fn anchors(&self) -> HtmlCollection[src]
The anchors getter
This API requires the following crate features to be activated: Document, HtmlCollection
pub fn applets(&self) -> HtmlCollection[src]
The applets getter
This API requires the following crate features to be activated: Document, HtmlCollection
pub fn fullscreen(&self) -> bool[src]
The fullscreen getter
This API requires the following crate features to be activated: Document
pub fn fullscreen_enabled(&self) -> bool[src]
The fullscreenEnabled getter
This API requires the following crate features to be activated: Document
pub fn onfullscreenchange(&self) -> Option<Function>[src]
The onfullscreenchange getter
This API requires the following crate features to be activated: Document
pub fn set_onfullscreenchange(&self, onfullscreenchange: Option<&Function>)[src]
The onfullscreenchange setter
This API requires the following crate features to be activated: Document
pub fn onfullscreenerror(&self) -> Option<Function>[src]
The onfullscreenerror getter
This API requires the following crate features to be activated: Document
pub fn set_onfullscreenerror(&self, onfullscreenerror: Option<&Function>)[src]
The onfullscreenerror setter
This API requires the following crate features to be activated: Document
pub fn onpointerlockchange(&self) -> Option<Function>[src]
The onpointerlockchange getter
This API requires the following crate features to be activated: Document
pub fn set_onpointerlockchange(&self, onpointerlockchange: Option<&Function>)[src]
The onpointerlockchange setter
This API requires the following crate features to be activated: Document
pub fn onpointerlockerror(&self) -> Option<Function>[src]
The onpointerlockerror getter
This API requires the following crate features to be activated: Document
pub fn set_onpointerlockerror(&self, onpointerlockerror: Option<&Function>)[src]
The onpointerlockerror setter
This API requires the following crate features to be activated: Document
[src]
The hidden getter
This API requires the following crate features to be activated: Document
pub fn visibility_state(&self) -> VisibilityState[src]
The visibilityState getter
This API requires the following crate features to be activated: Document, VisibilityState
pub fn onvisibilitychange(&self) -> Option<Function>[src]
The onvisibilitychange getter
This API requires the following crate features to be activated: Document
pub fn set_onvisibilitychange(&self, onvisibilitychange: Option<&Function>)[src]
The onvisibilitychange setter
This API requires the following crate features to be activated: Document
pub fn selected_style_sheet_set(&self) -> Option<String>[src]
The selectedStyleSheetSet getter
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]
&self,
selected_style_sheet_set: Option<&str>
)
The selectedStyleSheetSet setter
This API requires the following crate features to be activated: Document
pub fn last_style_sheet_set(&self) -> Option<String>[src]
The lastStyleSheetSet getter
This API requires the following crate features to be activated: Document
pub fn preferred_style_sheet_set(&self) -> Option<String>[src]
The preferredStyleSheetSet getter
This API requires the following crate features to be activated: Document
pub fn style_sheet_sets(&self) -> DomStringList[src]
The styleSheetSets getter
This API requires the following crate features to be activated: Document, DomStringList
pub fn scrolling_element(&self) -> Option<Element>[src]
The scrollingElement getter
This API requires the following crate features to be activated: Document, Element
pub fn timeline(&self) -> DocumentTimeline[src]
The timeline getter
This API requires the following crate features to be activated: Document, DocumentTimeline
pub fn root_element(&self) -> Option<SvgsvgElement>[src]
The rootElement getter
This API requires the following crate features to be activated: Document, SvgsvgElement
pub fn oncopy(&self) -> Option<Function>[src]
The oncopy getter
This API requires the following crate features to be activated: Document
pub fn set_oncopy(&self, oncopy: Option<&Function>)[src]
The oncopy setter
This API requires the following crate features to be activated: Document
pub fn oncut(&self) -> Option<Function>[src]
The oncut getter
This API requires the following crate features to be activated: Document
pub fn set_oncut(&self, oncut: Option<&Function>)[src]
The oncut setter
This API requires the following crate features to be activated: Document
pub fn onpaste(&self) -> Option<Function>[src]
The onpaste getter
This API requires the following crate features to be activated: Document
pub fn set_onpaste(&self, onpaste: Option<&Function>)[src]
The onpaste setter
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
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
This API requires the following crate features to be activated: Document
pub fn active_element(&self) -> Option<Element>[src]
The activeElement getter
This API requires the following crate features to be activated: Document, Element
pub fn style_sheets(&self) -> StyleSheetList[src]
The styleSheets getter
This API requires the following crate features to be activated: Document, StyleSheetList
pub fn pointer_lock_element(&self) -> Option<Element>[src]
The pointerLockElement getter
This API requires the following crate features to be activated: Document, Element
pub fn fullscreen_element(&self) -> Option<Element>[src]
The fullscreenElement getter
This API requires the following crate features to be activated: Document, Element
pub fn fonts(&self) -> FontFaceSet[src]
The fonts getter
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]
&self,
point: &DomPointInit,
from: &Text
) -> Result<DomPoint, JsValue>
The convertPointFromNode() method
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]
&self,
point: &DomPointInit,
from: &Element
) -> Result<DomPoint, JsValue>
The convertPointFromNode() method
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]
&self,
point: &DomPointInit,
from: &Document
) -> Result<DomPoint, JsValue>
The convertPointFromNode() method
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]
&self,
point: &DomPointInit,
from: &Text,
options: &ConvertCoordinateOptions
) -> Result<DomPoint, JsValue>
The convertPointFromNode() method
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]
&self,
point: &DomPointInit,
from: &Element,
options: &ConvertCoordinateOptions
) -> Result<DomPoint, JsValue>
The convertPointFromNode() method
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]
&self,
point: &DomPointInit,
from: &Document,
options: &ConvertCoordinateOptions
) -> Result<DomPoint, JsValue>
The convertPointFromNode() method
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]
&self,
quad: &DomQuad,
from: &Text
) -> Result<DomQuad, JsValue>
The convertQuadFromNode() method
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]
&self,
quad: &DomQuad,
from: &Element
) -> Result<DomQuad, JsValue>
The convertQuadFromNode() method
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]
&self,
quad: &DomQuad,
from: &Document
) -> Result<DomQuad, JsValue>
The convertQuadFromNode() method
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]
&self,
quad: &DomQuad,
from: &Text,
options: &ConvertCoordinateOptions
) -> Result<DomQuad, JsValue>
The convertQuadFromNode() method
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]
&self,
quad: &DomQuad,
from: &Element,
options: &ConvertCoordinateOptions
) -> Result<DomQuad, JsValue>
The convertQuadFromNode() method
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]
&self,
quad: &DomQuad,
from: &Document,
options: &ConvertCoordinateOptions
) -> Result<DomQuad, JsValue>
The convertQuadFromNode() method
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]
&self,
rect: &DomRectReadOnly,
from: &Text
) -> Result<DomQuad, JsValue>
The convertRectFromNode() method
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]
&self,
rect: &DomRectReadOnly,
from: &Element
) -> Result<DomQuad, JsValue>
The convertRectFromNode() method
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]
&self,
rect: &DomRectReadOnly,
from: &Document
) -> Result<DomQuad, JsValue>
The convertRectFromNode() method
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]
&self,
rect: &DomRectReadOnly,
from: &Text,
options: &ConvertCoordinateOptions
) -> Result<DomQuad, JsValue>
The convertRectFromNode() method
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]
&self,
rect: &DomRectReadOnly,
from: &Element,
options: &ConvertCoordinateOptions
) -> Result<DomQuad, JsValue>
The convertRectFromNode() method
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]
&self,
rect: &DomRectReadOnly,
from: &Document,
options: &ConvertCoordinateOptions
) -> Result<DomQuad, JsValue>
The convertRectFromNode() method
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
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]
&self,
options: &BoxQuadOptions
) -> Result<Array, JsValue>
The getBoxQuads() method
This API requires the following crate features to be activated: BoxQuadOptions, Document
pub fn onabort(&self) -> Option<Function>[src]
The onabort getter
This API requires the following crate features to be activated: Document
pub fn set_onabort(&self, onabort: Option<&Function>)[src]
The onabort setter
This API requires the following crate features to be activated: Document
pub fn onblur(&self) -> Option<Function>[src]
The onblur getter
This API requires the following crate features to be activated: Document
pub fn set_onblur(&self, onblur: Option<&Function>)[src]
The onblur setter
This API requires the following crate features to be activated: Document
pub fn onfocus(&self) -> Option<Function>[src]
The onfocus getter
This API requires the following crate features to be activated: Document
pub fn set_onfocus(&self, onfocus: Option<&Function>)[src]
The onfocus setter
This API requires the following crate features to be activated: Document
pub fn onauxclick(&self) -> Option<Function>[src]
The onauxclick getter
This API requires the following crate features to be activated: Document
pub fn set_onauxclick(&self, onauxclick: Option<&Function>)[src]
The onauxclick setter
This API requires the following crate features to be activated: Document
pub fn oncanplay(&self) -> Option<Function>[src]
The oncanplay getter
This API requires the following crate features to be activated: Document
pub fn set_oncanplay(&self, oncanplay: Option<&Function>)[src]
The oncanplay setter
This API requires the following crate features to be activated: Document
pub fn oncanplaythrough(&self) -> Option<Function>[src]
The oncanplaythrough getter
This API requires the following crate features to be activated: Document
pub fn set_oncanplaythrough(&self, oncanplaythrough: Option<&Function>)[src]
The oncanplaythrough setter
This API requires the following crate features to be activated: Document
pub fn onchange(&self) -> Option<Function>[src]
The onchange getter
This API requires the following crate features to be activated: Document
pub fn set_onchange(&self, onchange: Option<&Function>)[src]
The onchange setter
This API requires the following crate features to be activated: Document
pub fn onclick(&self) -> Option<Function>[src]
The onclick getter
This API requires the following crate features to be activated: Document
pub fn set_onclick(&self, onclick: Option<&Function>)[src]
The onclick setter
This API requires the following crate features to be activated: Document
pub fn onclose(&self) -> Option<Function>[src]
The onclose getter
This API requires the following crate features to be activated: Document
pub fn set_onclose(&self, onclose: Option<&Function>)[src]
The onclose setter
This API requires the following crate features to be activated: Document
pub fn oncontextmenu(&self) -> Option<Function>[src]
The oncontextmenu getter
This API requires the following crate features to be activated: Document
pub fn set_oncontextmenu(&self, oncontextmenu: Option<&Function>)[src]
The oncontextmenu setter
This API requires the following crate features to be activated: Document
pub fn ondblclick(&self) -> Option<Function>[src]
The ondblclick getter
This API requires the following crate features to be activated: Document
pub fn set_ondblclick(&self, ondblclick: Option<&Function>)[src]
The ondblclick setter
This API requires the following crate features to be activated: Document
pub fn ondrag(&self) -> Option<Function>[src]
The ondrag getter
This API requires the following crate features to be activated: Document
pub fn set_ondrag(&self, ondrag: Option<&Function>)[src]
The ondrag setter
This API requires the following crate features to be activated: Document
pub fn ondragend(&self) -> Option<Function>[src]
The ondragend getter
This API requires the following crate features to be activated: Document
pub fn set_ondragend(&self, ondragend: Option<&Function>)[src]
The ondragend setter
This API requires the following crate features to be activated: Document
pub fn ondragenter(&self) -> Option<Function>[src]
The ondragenter getter
This API requires the following crate features to be activated: Document
pub fn set_ondragenter(&self, ondragenter: Option<&Function>)[src]
The ondragenter setter
This API requires the following crate features to be activated: Document
pub fn ondragexit(&self) -> Option<Function>[src]
The ondragexit getter
This API requires the following crate features to be activated: Document
pub fn set_ondragexit(&self, ondragexit: Option<&Function>)[src]
The ondragexit setter
This API requires the following crate features to be activated: Document
pub fn ondragleave(&self) -> Option<Function>[src]
The ondragleave getter
This API requires the following crate features to be activated: Document
pub fn set_ondragleave(&self, ondragleave: Option<&Function>)[src]
The ondragleave setter
This API requires the following crate features to be activated: Document
pub fn ondragover(&self) -> Option<Function>[src]
The ondragover getter
This API requires the following crate features to be activated: Document
pub fn set_ondragover(&self, ondragover: Option<&Function>)[src]
The ondragover setter
This API requires the following crate features to be activated: Document
pub fn ondragstart(&self) -> Option<Function>[src]
The ondragstart getter
This API requires the following crate features to be activated: Document
pub fn set_ondragstart(&self, ondragstart: Option<&Function>)[src]
The ondragstart setter
This API requires the following crate features to be activated: Document
pub fn ondrop(&self) -> Option<Function>[src]
The ondrop getter
This API requires the following crate features to be activated: Document
pub fn set_ondrop(&self, ondrop: Option<&Function>)[src]
The ondrop setter
This API requires the following crate features to be activated: Document
pub fn ondurationchange(&self) -> Option<Function>[src]
The ondurationchange getter
This API requires the following crate features to be activated: Document
pub fn set_ondurationchange(&self, ondurationchange: Option<&Function>)[src]
The ondurationchange setter
This API requires the following crate features to be activated: Document
pub fn onemptied(&self) -> Option<Function>[src]
The onemptied getter
This API requires the following crate features to be activated: Document
pub fn set_onemptied(&self, onemptied: Option<&Function>)[src]
The onemptied setter
This API requires the following crate features to be activated: Document
pub fn onended(&self) -> Option<Function>[src]
The onended getter
This API requires the following crate features to be activated: Document
pub fn set_onended(&self, onended: Option<&Function>)[src]
The onended setter
This API requires the following crate features to be activated: Document
pub fn oninput(&self) -> Option<Function>[src]
The oninput getter
This API requires the following crate features to be activated: Document
pub fn set_oninput(&self, oninput: Option<&Function>)[src]
The oninput setter
This API requires the following crate features to be activated: Document
pub fn oninvalid(&self) -> Option<Function>[src]
The oninvalid getter
This API requires the following crate features to be activated: Document
pub fn set_oninvalid(&self, oninvalid: Option<&Function>)[src]
The oninvalid setter
This API requires the following crate features to be activated: Document
pub fn onkeydown(&self) -> Option<Function>[src]
The onkeydown getter
This API requires the following crate features to be activated: Document
pub fn set_onkeydown(&self, onkeydown: Option<&Function>)[src]
The onkeydown setter
This API requires the following crate features to be activated: Document
pub fn onkeypress(&self) -> Option<Function>[src]
The onkeypress getter
This API requires the following crate features to be activated: Document
pub fn set_onkeypress(&self, onkeypress: Option<&Function>)[src]
The onkeypress setter
This API requires the following crate features to be activated: Document
pub fn onkeyup(&self) -> Option<Function>[src]
The onkeyup getter
This API requires the following crate features to be activated: Document
pub fn set_onkeyup(&self, onkeyup: Option<&Function>)[src]
The onkeyup setter
This API requires the following crate features to be activated: Document
pub fn onload(&self) -> Option<Function>[src]
The onload getter
This API requires the following crate features to be activated: Document
pub fn set_onload(&self, onload: Option<&Function>)[src]
The onload setter
This API requires the following crate features to be activated: Document
pub fn onloadeddata(&self) -> Option<Function>[src]
The onloadeddata getter
This API requires the following crate features to be activated: Document
pub fn set_onloadeddata(&self, onloadeddata: Option<&Function>)[src]
The onloadeddata setter
This API requires the following crate features to be activated: Document
pub fn onloadedmetadata(&self) -> Option<Function>[src]
The onloadedmetadata getter
This API requires the following crate features to be activated: Document
pub fn set_onloadedmetadata(&self, onloadedmetadata: Option<&Function>)[src]
The onloadedmetadata setter
This API requires the following crate features to be activated: Document
pub fn onloadend(&self) -> Option<Function>[src]
The onloadend getter
This API requires the following crate features to be activated: Document
pub fn set_onloadend(&self, onloadend: Option<&Function>)[src]
The onloadend setter
This API requires the following crate features to be activated: Document
pub fn onloadstart(&self) -> Option<Function>[src]
The onloadstart getter
This API requires the following crate features to be activated: Document
pub fn set_onloadstart(&self, onloadstart: Option<&Function>)[src]
The onloadstart setter
This API requires the following crate features to be activated: Document
pub fn onmousedown(&self) -> Option<Function>[src]
The onmousedown getter
This API requires the following crate features to be activated: Document
pub fn set_onmousedown(&self, onmousedown: Option<&Function>)[src]
The onmousedown setter
This API requires the following crate features to be activated: Document
pub fn onmouseenter(&self) -> Option<Function>[src]
The onmouseenter getter
This API requires the following crate features to be activated: Document
pub fn set_onmouseenter(&self, onmouseenter: Option<&Function>)[src]
The onmouseenter setter
This API requires the following crate features to be activated: Document
pub fn onmouseleave(&self) -> Option<Function>[src]
The onmouseleave getter
This API requires the following crate features to be activated: Document
pub fn set_onmouseleave(&self, onmouseleave: Option<&Function>)[src]
The onmouseleave setter
This API requires the following crate features to be activated: Document
pub fn onmousemove(&self) -> Option<Function>[src]
The onmousemove getter
This API requires the following crate features to be activated: Document
pub fn set_onmousemove(&self, onmousemove: Option<&Function>)[src]
The onmousemove setter
This API requires the following crate features to be activated: Document
pub fn onmouseout(&self) -> Option<Function>[src]
The onmouseout getter
This API requires the following crate features to be activated: Document
pub fn set_onmouseout(&self, onmouseout: Option<&Function>)[src]
The onmouseout setter
This API requires the following crate features to be activated: Document
pub fn onmouseover(&self) -> Option<Function>[src]
The onmouseover getter
This API requires the following crate features to be activated: Document
pub fn set_onmouseover(&self, onmouseover: Option<&Function>)[src]
The onmouseover setter
This API requires the following crate features to be activated: Document
pub fn onmouseup(&self) -> Option<Function>[src]
The onmouseup getter
This API requires the following crate features to be activated: Document
pub fn set_onmouseup(&self, onmouseup: Option<&Function>)[src]
The onmouseup setter
This API requires the following crate features to be activated: Document
pub fn onwheel(&self) -> Option<Function>[src]
The onwheel getter
This API requires the following crate features to be activated: Document
pub fn set_onwheel(&self, onwheel: Option<&Function>)[src]
The onwheel setter
This API requires the following crate features to be activated: Document
pub fn onpause(&self) -> Option<Function>[src]
The onpause getter
This API requires the following crate features to be activated: Document
pub fn set_onpause(&self, onpause: Option<&Function>)[src]
The onpause setter
This API requires the following crate features to be activated: Document
pub fn onplay(&self) -> Option<Function>[src]
The onplay getter
This API requires the following crate features to be activated: Document
pub fn set_onplay(&self, onplay: Option<&Function>)[src]
The onplay setter
This API requires the following crate features to be activated: Document
pub fn onplaying(&self) -> Option<Function>[src]
The onplaying getter
This API requires the following crate features to be activated: Document
pub fn set_onplaying(&self, onplaying: Option<&Function>)[src]
The onplaying setter
This API requires the following crate features to be activated: Document
pub fn onprogress(&self) -> Option<Function>[src]
The onprogress getter
This API requires the following crate features to be activated: Document
pub fn set_onprogress(&self, onprogress: Option<&Function>)[src]
The onprogress setter
This API requires the following crate features to be activated: Document
pub fn onratechange(&self) -> Option<Function>[src]
The onratechange getter
This API requires the following crate features to be activated: Document
pub fn set_onratechange(&self, onratechange: Option<&Function>)[src]
The onratechange setter
This API requires the following crate features to be activated: Document
pub fn onreset(&self) -> Option<Function>[src]
The onreset getter
This API requires the following crate features to be activated: Document
pub fn set_onreset(&self, onreset: Option<&Function>)[src]
The onreset setter
This API requires the following crate features to be activated: Document
pub fn onresize(&self) -> Option<Function>[src]
The onresize getter
This API requires the following crate features to be activated: Document
pub fn set_onresize(&self, onresize: Option<&Function>)[src]
The onresize setter
This API requires the following crate features to be activated: Document
pub fn onscroll(&self) -> Option<Function>[src]
The onscroll getter
This API requires the following crate features to be activated: Document
pub fn set_onscroll(&self, onscroll: Option<&Function>)[src]
The onscroll setter
This API requires the following crate features to be activated: Document
pub fn onseeked(&self) -> Option<Function>[src]
The onseeked getter
This API requires the following crate features to be activated: Document
pub fn set_onseeked(&self, onseeked: Option<&Function>)[src]
The onseeked setter
This API requires the following crate features to be activated: Document
pub fn onseeking(&self) -> Option<Function>[src]
The onseeking getter
This API requires the following crate features to be activated: Document
pub fn set_onseeking(&self, onseeking: Option<&Function>)[src]
The onseeking setter
This API requires the following crate features to be activated: Document
pub fn onselect(&self) -> Option<Function>[src]
The onselect getter
This API requires the following crate features to be activated: Document
pub fn set_onselect(&self, onselect: Option<&Function>)[src]
The onselect setter
This API requires the following crate features to be activated: Document
pub fn onshow(&self) -> Option<Function>[src]
The onshow getter
This API requires the following crate features to be activated: Document
pub fn set_onshow(&self, onshow: Option<&Function>)[src]
The onshow setter
This API requires the following crate features to be activated: Document
pub fn onstalled(&self) -> Option<Function>[src]
The onstalled getter
This API requires the following crate features to be activated: Document
pub fn set_onstalled(&self, onstalled: Option<&Function>)[src]
The onstalled setter
This API requires the following crate features to be activated: Document
pub fn onsubmit(&self) -> Option<Function>[src]
The onsubmit getter
This API requires the following crate features to be activated: Document
pub fn set_onsubmit(&self, onsubmit: Option<&Function>)[src]
The onsubmit setter
This API requires the following crate features to be activated: Document
pub fn onsuspend(&self) -> Option<Function>[src]
The onsuspend getter
This API requires the following crate features to be activated: Document
pub fn set_onsuspend(&self, onsuspend: Option<&Function>)[src]
The onsuspend setter
This API requires the following crate features to be activated: Document
pub fn ontimeupdate(&self) -> Option<Function>[src]
The ontimeupdate getter
This API requires the following crate features to be activated: Document
pub fn set_ontimeupdate(&self, ontimeupdate: Option<&Function>)[src]
The ontimeupdate setter
This API requires the following crate features to be activated: Document
pub fn onvolumechange(&self) -> Option<Function>[src]
The onvolumechange getter
This API requires the following crate features to be activated: Document
pub fn set_onvolumechange(&self, onvolumechange: Option<&Function>)[src]
The onvolumechange setter
This API requires the following crate features to be activated: Document
pub fn onwaiting(&self) -> Option<Function>[src]
The onwaiting getter
This API requires the following crate features to be activated: Document
pub fn set_onwaiting(&self, onwaiting: Option<&Function>)[src]
The onwaiting setter
This API requires the following crate features to be activated: Document
pub fn onselectstart(&self) -> Option<Function>[src]
The onselectstart getter
This API requires the following crate features to be activated: Document
pub fn set_onselectstart(&self, onselectstart: Option<&Function>)[src]
The onselectstart setter
This API requires the following crate features to be activated: Document
pub fn ontoggle(&self) -> Option<Function>[src]
The ontoggle getter
This API requires the following crate features to be activated: Document
pub fn set_ontoggle(&self, ontoggle: Option<&Function>)[src]
The ontoggle setter
This API requires the following crate features to be activated: Document
pub fn onpointercancel(&self) -> Option<Function>[src]
The onpointercancel getter
This API requires the following crate features to be activated: Document
pub fn set_onpointercancel(&self, onpointercancel: Option<&Function>)[src]
The onpointercancel setter
This API requires the following crate features to be activated: Document
pub fn onpointerdown(&self) -> Option<Function>[src]
The onpointerdown getter
This API requires the following crate features to be activated: Document
pub fn set_onpointerdown(&self, onpointerdown: Option<&Function>)[src]
The onpointerdown setter
This API requires the following crate features to be activated: Document
pub fn onpointerup(&self) -> Option<Function>[src]
The onpointerup getter
This API requires the following crate features to be activated: Document
pub fn set_onpointerup(&self, onpointerup: Option<&Function>)[src]
The onpointerup setter
This API requires the following crate features to be activated: Document
pub fn onpointermove(&self) -> Option<Function>[src]
The onpointermove getter
This API requires the following crate features to be activated: Document
pub fn set_onpointermove(&self, onpointermove: Option<&Function>)[src]
The onpointermove setter
This API requires the following crate features to be activated: Document
pub fn onpointerout(&self) -> Option<Function>[src]
The onpointerout getter
This API requires the following crate features to be activated: Document
pub fn set_onpointerout(&self, onpointerout: Option<&Function>)[src]
The onpointerout setter
This API requires the following crate features to be activated: Document
pub fn onpointerover(&self) -> Option<Function>[src]
The onpointerover getter
This API requires the following crate features to be activated: Document
pub fn set_onpointerover(&self, onpointerover: Option<&Function>)[src]
The onpointerover setter
This API requires the following crate features to be activated: Document
pub fn onpointerenter(&self) -> Option<Function>[src]
The onpointerenter getter
This API requires the following crate features to be activated: Document
pub fn set_onpointerenter(&self, onpointerenter: Option<&Function>)[src]
The onpointerenter setter
This API requires the following crate features to be activated: Document
pub fn onpointerleave(&self) -> Option<Function>[src]
The onpointerleave getter
This API requires the following crate features to be activated: Document
pub fn set_onpointerleave(&self, onpointerleave: Option<&Function>)[src]
The onpointerleave setter
This API requires the following crate features to be activated: Document
pub fn ongotpointercapture(&self) -> Option<Function>[src]
The ongotpointercapture getter
This API requires the following crate features to be activated: Document
pub fn set_ongotpointercapture(&self, ongotpointercapture: Option<&Function>)[src]
The ongotpointercapture setter
This API requires the following crate features to be activated: Document
pub fn onlostpointercapture(&self) -> Option<Function>[src]
The onlostpointercapture getter
This API requires the following crate features to be activated: Document
pub fn set_onlostpointercapture(&self, onlostpointercapture: Option<&Function>)[src]
The onlostpointercapture setter
This API requires the following crate features to be activated: Document
pub fn onanimationcancel(&self) -> Option<Function>[src]
The onanimationcancel getter
This API requires the following crate features to be activated: Document
pub fn set_onanimationcancel(&self, onanimationcancel: Option<&Function>)[src]
The onanimationcancel setter
This API requires the following crate features to be activated: Document
pub fn onanimationend(&self) -> Option<Function>[src]
The onanimationend getter
This API requires the following crate features to be activated: Document
pub fn set_onanimationend(&self, onanimationend: Option<&Function>)[src]
The onanimationend setter
This API requires the following crate features to be activated: Document
pub fn onanimationiteration(&self) -> Option<Function>[src]
The onanimationiteration getter
This API requires the following crate features to be activated: Document
pub fn set_onanimationiteration(&self, onanimationiteration: Option<&Function>)[src]
The onanimationiteration setter
This API requires the following crate features to be activated: Document
pub fn onanimationstart(&self) -> Option<Function>[src]
The onanimationstart getter
This API requires the following crate features to be activated: Document
pub fn set_onanimationstart(&self, onanimationstart: Option<&Function>)[src]
The onanimationstart setter
This API requires the following crate features to be activated: Document
pub fn ontransitioncancel(&self) -> Option<Function>[src]
The ontransitioncancel getter
This API requires the following crate features to be activated: Document
pub fn set_ontransitioncancel(&self, ontransitioncancel: Option<&Function>)[src]
The ontransitioncancel setter
This API requires the following crate features to be activated: Document
pub fn ontransitionend(&self) -> Option<Function>[src]
The ontransitionend getter
This API requires the following crate features to be activated: Document
pub fn set_ontransitionend(&self, ontransitionend: Option<&Function>)[src]
The ontransitionend setter
This API requires the following crate features to be activated: Document
pub fn ontransitionrun(&self) -> Option<Function>[src]
The ontransitionrun getter
This API requires the following crate features to be activated: Document
pub fn set_ontransitionrun(&self, ontransitionrun: Option<&Function>)[src]
The ontransitionrun setter
This API requires the following crate features to be activated: Document
pub fn ontransitionstart(&self) -> Option<Function>[src]
The ontransitionstart getter
This API requires the following crate features to be activated: Document
pub fn set_ontransitionstart(&self, ontransitionstart: Option<&Function>)[src]
The ontransitionstart setter
This API requires the following crate features to be activated: Document
pub fn onwebkitanimationend(&self) -> Option<Function>[src]
The onwebkitanimationend getter
This API requires the following crate features to be activated: Document
pub fn set_onwebkitanimationend(&self, onwebkitanimationend: Option<&Function>)[src]
The onwebkitanimationend setter
This API requires the following crate features to be activated: Document
pub fn onwebkitanimationiteration(&self) -> Option<Function>[src]
The onwebkitanimationiteration getter
This API requires the following crate features to be activated: Document
pub fn set_onwebkitanimationiteration(
&self,
onwebkitanimationiteration: Option<&Function>
)[src]
&self,
onwebkitanimationiteration: Option<&Function>
)
The onwebkitanimationiteration setter
This API requires the following crate features to be activated: Document
pub fn onwebkitanimationstart(&self) -> Option<Function>[src]
The onwebkitanimationstart getter
This API requires the following crate features to be activated: Document
pub fn set_onwebkitanimationstart(
&self,
onwebkitanimationstart: Option<&Function>
)[src]
&self,
onwebkitanimationstart: Option<&Function>
)
The onwebkitanimationstart setter
This API requires the following crate features to be activated: Document
pub fn onwebkittransitionend(&self) -> Option<Function>[src]
The onwebkittransitionend getter
This API requires the following crate features to be activated: Document
pub fn set_onwebkittransitionend(
&self,
onwebkittransitionend: Option<&Function>
)[src]
&self,
onwebkittransitionend: Option<&Function>
)
The onwebkittransitionend setter
This API requires the following crate features to be activated: Document
pub fn onerror(&self) -> Option<Function>[src]
The onerror getter
This API requires the following crate features to be activated: Document
pub fn set_onerror(&self, onerror: Option<&Function>)[src]
The onerror setter
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
This API requires the following crate features to be activated: Document
pub fn append_with_node_0(&self) -> Result<(), JsValue>[src]
The append() method
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
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]
&self,
nodes_1: &Node,
nodes_2: &Node
) -> Result<(), JsValue>
The append() method
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]
&self,
nodes_1: &Node,
nodes_2: &Node,
nodes_3: &Node
) -> Result<(), JsValue>
The append() method
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]
&self,
nodes_1: &Node,
nodes_2: &Node,
nodes_3: &Node,
nodes_4: &Node
) -> Result<(), JsValue>
The append() method
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]
&self,
nodes_1: &Node,
nodes_2: &Node,
nodes_3: &Node,
nodes_4: &Node,
nodes_5: &Node
) -> Result<(), JsValue>
The append() method
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]
&self,
nodes_1: &Node,
nodes_2: &Node,
nodes_3: &Node,
nodes_4: &Node,
nodes_5: &Node,
nodes_6: &Node
) -> Result<(), JsValue>
The append() method
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]
&self,
nodes_1: &Node,
nodes_2: &Node,
nodes_3: &Node,
nodes_4: &Node,
nodes_5: &Node,
nodes_6: &Node,
nodes_7: &Node
) -> Result<(), JsValue>
The append() method
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
This API requires the following crate features to be activated: Document
pub fn append_with_str_0(&self) -> Result<(), JsValue>[src]
The append() method
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
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]
&self,
nodes_1: &str,
nodes_2: &str
) -> Result<(), JsValue>
The append() method
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]
&self,
nodes_1: &str,
nodes_2: &str,
nodes_3: &str
) -> Result<(), JsValue>
The append() method
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]
&self,
nodes_1: &str,
nodes_2: &str,
nodes_3: &str,
nodes_4: &str
) -> Result<(), JsValue>
The append() method
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]
&self,
nodes_1: &str,
nodes_2: &str,
nodes_3: &str,
nodes_4: &str,
nodes_5: &str
) -> Result<(), JsValue>
The append() method
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]
&self,
nodes_1: &str,
nodes_2: &str,
nodes_3: &str,
nodes_4: &str,
nodes_5: &str,
nodes_6: &str
) -> Result<(), JsValue>
The append() method
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]
&self,
nodes_1: &str,
nodes_2: &str,
nodes_3: &str,
nodes_4: &str,
nodes_5: &str,
nodes_6: &str,
nodes_7: &str
) -> Result<(), JsValue>
The append() method
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
This API requires the following crate features to be activated: Document
pub fn prepend_with_node_0(&self) -> Result<(), JsValue>[src]
The prepend() method
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
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]
&self,
nodes_1: &Node,
nodes_2: &Node
) -> Result<(), JsValue>
The prepend() method
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]
&self,
nodes_1: &Node,
nodes_2: &Node,
nodes_3: &Node
) -> Result<(), JsValue>
The prepend() method
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]
&self,
nodes_1: &Node,
nodes_2: &Node,
nodes_3: &Node,
nodes_4: &Node
) -> Result<(), JsValue>
The prepend() method
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]
&self,
nodes_1: &Node,
nodes_2: &Node,
nodes_3: &Node,
nodes_4: &Node,
nodes_5: &Node
) -> Result<(), JsValue>
The prepend() method
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]
&self,
nodes_1: &Node,
nodes_2: &Node,
nodes_3: &Node,
nodes_4: &Node,
nodes_5: &Node,
nodes_6: &Node
) -> Result<(), JsValue>
The prepend() method
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]
&self,
nodes_1: &Node,
nodes_2: &Node,
nodes_3: &Node,
nodes_4: &Node,
nodes_5: &Node,
nodes_6: &Node,
nodes_7: &Node
) -> Result<(), JsValue>
The prepend() method
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
This API requires the following crate features to be activated: Document
pub fn prepend_with_str_0(&self) -> Result<(), JsValue>[src]
The prepend() method
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
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]
&self,
nodes_1: &str,
nodes_2: &str
) -> Result<(), JsValue>
The prepend() method
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]
&self,
nodes_1: &str,
nodes_2: &str,
nodes_3: &str
) -> Result<(), JsValue>
The prepend() method
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]
&self,
nodes_1: &str,
nodes_2: &str,
nodes_3: &str,
nodes_4: &str
) -> Result<(), JsValue>
The prepend() method
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]
&self,
nodes_1: &str,
nodes_2: &str,
nodes_3: &str,
nodes_4: &str,
nodes_5: &str
) -> Result<(), JsValue>
The prepend() method
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]
&self,
nodes_1: &str,
nodes_2: &str,
nodes_3: &str,
nodes_4: &str,
nodes_5: &str,
nodes_6: &str
) -> Result<(), JsValue>
The prepend() method
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]
&self,
nodes_1: &str,
nodes_2: &str,
nodes_3: &str,
nodes_4: &str,
nodes_5: &str,
nodes_6: &str,
nodes_7: &str
) -> Result<(), JsValue>
The prepend() method
This API requires the following crate features to be activated: Document
pub fn children(&self) -> HtmlCollection[src]
The children getter
This API requires the following crate features to be activated: Document, HtmlCollection
pub fn first_element_child(&self) -> Option<Element>[src]
The firstElementChild getter
This API requires the following crate features to be activated: Document, Element
pub fn last_element_child(&self) -> Option<Element>[src]
The lastElementChild getter
This API requires the following crate features to be activated: Document, Element
pub fn child_element_count(&self) -> u32[src]
The childElementCount getter
This API requires the following crate features to be activated: Document
pub fn ontouchstart(&self) -> Option<Function>[src]
The ontouchstart getter
This API requires the following crate features to be activated: Document
pub fn set_ontouchstart(&self, ontouchstart: Option<&Function>)[src]
The ontouchstart setter
This API requires the following crate features to be activated: Document
pub fn ontouchend(&self) -> Option<Function>[src]
The ontouchend getter
This API requires the following crate features to be activated: Document
pub fn set_ontouchend(&self, ontouchend: Option<&Function>)[src]
The ontouchend setter
This API requires the following crate features to be activated: Document
pub fn ontouchmove(&self) -> Option<Function>[src]
The ontouchmove getter
This API requires the following crate features to be activated: Document
pub fn set_ontouchmove(&self, ontouchmove: Option<&Function>)[src]
The ontouchmove setter
This API requires the following crate features to be activated: Document
pub fn ontouchcancel(&self) -> Option<Function>[src]
The ontouchcancel getter
This API requires the following crate features to be activated: Document
pub fn set_ontouchcancel(&self, ontouchcancel: Option<&Function>)[src]
The ontouchcancel setter
This API requires the following crate features to be activated: Document
pub fn create_expression(
&self,
expression: &str
) -> Result<XPathExpression, JsValue>[src]
&self,
expression: &str
) -> Result<XPathExpression, JsValue>
The createExpression() method
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]
&self,
expression: &str,
resolver: Option<&Function>
) -> Result<XPathExpression, JsValue>
The createExpression() method
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]
&self,
expression: &str,
resolver: Option<&XPathNsResolver>
) -> Result<XPathExpression, JsValue>
The createExpression() method
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
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]
&self,
expression: &str,
context_node: &Node
) -> Result<XPathResult, JsValue>
The evaluate() method
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]
&self,
expression: &str,
context_node: &Node,
resolver: Option<&Function>
) -> Result<XPathResult, JsValue>
The evaluate() method
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]
&self,
expression: &str,
context_node: &Node,
resolver: Option<&XPathNsResolver>
) -> Result<XPathResult, JsValue>
The evaluate() method
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]
&self,
expression: &str,
context_node: &Node,
resolver: Option<&Function>,
type_: u16
) -> Result<XPathResult, JsValue>
The evaluate() method
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]
&self,
expression: &str,
context_node: &Node,
resolver: Option<&XPathNsResolver>,
type_: u16
) -> Result<XPathResult, JsValue>
The evaluate() method
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]
&self,
expression: &str,
context_node: &Node,
resolver: Option<&Function>,
type_: u16,
result: Option<&Object>
) -> Result<XPathResult, JsValue>
The evaluate() method
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]
&self,
expression: &str,
context_node: &Node,
resolver: Option<&XPathNsResolver>,
type_: u16,
result: Option<&Object>
) -> Result<XPathResult, JsValue>
The evaluate() method
This API requires the following crate features to be activated: Document, Node, XPathNsResolver, XPathResult
Trait Implementations
impl Clone for XmlDocument[src]
fn clone(&self) -> XmlDocument[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq<XmlDocument> for XmlDocument[src]
fn eq(&self, other: &XmlDocument) -> bool[src]
fn ne(&self, other: &XmlDocument) -> bool[src]
impl AsRef<JsValue> for XmlDocument[src]
impl AsRef<XmlDocument> for XmlDocument[src]
fn as_ref(&self) -> &XmlDocument[src]
impl AsRef<Document> for XmlDocument[src]
impl AsRef<Node> for XmlDocument[src]
impl AsRef<EventTarget> for XmlDocument[src]
fn as_ref(&self) -> &EventTarget[src]
impl AsRef<Object> for XmlDocument[src]
impl From<JsValue> for XmlDocument[src]
fn from(obj: JsValue) -> XmlDocument[src]
impl From<XmlDocument> for JsValue[src]
fn from(obj: XmlDocument) -> JsValue[src]
impl From<XmlDocument> for Document[src]
fn from(obj: XmlDocument) -> Document[src]
impl From<XmlDocument> for Node[src]
fn from(obj: XmlDocument) -> Node[src]
impl From<XmlDocument> for EventTarget[src]
fn from(obj: XmlDocument) -> EventTarget[src]
impl From<XmlDocument> for Object[src]
fn from(obj: XmlDocument) -> Object[src]
impl Eq for XmlDocument[src]
impl Deref for XmlDocument[src]
impl Debug for XmlDocument[src]
impl JsCast for XmlDocument[src]
fn instanceof(val: &JsValue) -> bool[src]
fn unchecked_from_js(val: JsValue) -> Self[src]
fn unchecked_from_js_ref(val: &JsValue) -> &Self[src]
fn has_type<T>(&self) -> bool where
T: JsCast, [src]
T: JsCast,
Test whether this JS value has a type T. Read more
fn dyn_into<T>(self) -> Result<T, Self> where
T: JsCast, [src]
T: JsCast,
Performs a dynamic cast (checked at runtime) of this value into the target type T. Read more
fn dyn_ref<T>(&self) -> Option<&T> where
T: JsCast, [src]
T: JsCast,
Performs a dynamic cast (checked at runtime) of this value into the target type T. Read more
fn unchecked_into<T>(self) -> T where
T: JsCast, [src]
T: JsCast,
Performs a zero-cost unchecked cast into the specified type. Read more
fn unchecked_ref<T>(&self) -> &T where
T: JsCast, [src]
T: JsCast,
Performs a zero-cost unchecked cast into a reference to the specified type. Read more
fn is_instance_of<T>(&self) -> bool where
T: JsCast, [src]
T: JsCast,
Test whether this JS value is an instance of the type T. Read more
fn is_type_of(val: &JsValue) -> bool[src]
Performs a dynamic check to see whether the JsValue provided is a value of this type. Read more
impl IntoWasmAbi for XmlDocument[src]
type Abi = <JsValue as IntoWasmAbi>::Abi
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self) -> Self::Abi[src]
impl<'a> IntoWasmAbi for &'a XmlDocument[src]
type Abi = <&'a JsValue as IntoWasmAbi>::Abi
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self) -> Self::Abi[src]
impl FromWasmAbi for XmlDocument[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
unsafe fn from_abi(js: Self::Abi) -> Self[src]
impl RefFromWasmAbi for XmlDocument[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
The wasm ABI type references to Self are recovered from.
type Anchor = ManuallyDrop<XmlDocument>
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
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor[src]
impl WasmDescribe for XmlDocument[src]
impl OptionIntoWasmAbi for XmlDocument[src]
impl<'a> OptionIntoWasmAbi for &'a XmlDocument[src]
impl OptionFromWasmAbi for XmlDocument[src]
Auto Trait Implementations
impl !Sync for XmlDocument
impl Unpin for XmlDocument
impl !Send for XmlDocument
impl UnwindSafe for XmlDocument
impl RefUnwindSafe for XmlDocument
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi, [src]
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi