[−][src]Struct web_sys::Document
The Document
object
This API requires the following crate features to be activated: Document
Methods
impl Document
[src]
pub fn new() -> Result<Document, JsValue>
[src]
The new Document(..)
constructor, creating a new instance of Document
This API requires the following crate features to be activated: Document
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
pub fn create_comment(&self, data: &str) -> Comment
[src]
The createComment()
method
This API requires the following crate features to be activated: Comment
, Document
impl Document
[src]
pub fn create_document_fragment(&self) -> DocumentFragment
[src]
The createDocumentFragment()
method
This API requires the following crate features to be activated: Document
, DocumentFragment
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
pub fn create_range(&self) -> Result<Range, JsValue>
[src]
The createRange()
method
This API requires the following crate features to be activated: Document
, Range
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
pub fn exit_fullscreen(&self)
[src]
The exitFullscreen()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn exit_pointer_lock(&self)
[src]
The exitPointerLock()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn get_animations(&self) -> Array
[src]
The getAnimations()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
pub fn has_focus(&self) -> Result<bool, JsValue>
[src]
The hasFocus()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
pub fn release_capture(&self)
[src]
The releaseCapture()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn implementation(&self) -> Result<DomImplementation, JsValue>
[src]
The implementation
getter
This API requires the following crate features to be activated: Document
, DomImplementation
impl Document
[src]
pub fn url(&self) -> Result<String, JsValue>
[src]
The URL
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn document_uri(&self) -> Result<String, JsValue>
[src]
The documentURI
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn compat_mode(&self) -> String
[src]
The compatMode
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn character_set(&self) -> String
[src]
The characterSet
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn charset(&self) -> String
[src]
The charset
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn input_encoding(&self) -> String
[src]
The inputEncoding
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn content_type(&self) -> String
[src]
The contentType
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn doctype(&self) -> Option<DocumentType>
[src]
The doctype
getter
This API requires the following crate features to be activated: Document
, DocumentType
impl Document
[src]
pub fn document_element(&self) -> Option<Element>
[src]
The documentElement
getter
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
pub fn location(&self) -> Option<Location>
[src]
The location
getter
This API requires the following crate features to be activated: Document
, Location
impl Document
[src]
pub fn referrer(&self) -> String
[src]
The referrer
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn last_modified(&self) -> String
[src]
The lastModified
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ready_state(&self) -> String
[src]
The readyState
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn title(&self) -> String
[src]
The title
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_title(&self, title: &str)
[src]
The title
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn dir(&self) -> String
[src]
The dir
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_dir(&self, dir: &str)
[src]
The dir
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn body(&self) -> Option<HtmlElement>
[src]
The body
getter
This API requires the following crate features to be activated: Document
, HtmlElement
impl Document
[src]
pub fn set_body(&self, body: Option<&HtmlElement>)
[src]
The body
setter
This API requires the following crate features to be activated: Document
, HtmlElement
impl Document
[src]
pub fn head(&self) -> Option<HtmlHeadElement>
[src]
The head
getter
This API requires the following crate features to be activated: Document
, HtmlHeadElement
impl Document
[src]
pub fn images(&self) -> HtmlCollection
[src]
The images
getter
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
pub fn embeds(&self) -> HtmlCollection
[src]
The embeds
getter
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
pub fn plugins(&self) -> HtmlCollection
[src]
The plugins
getter
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
pub fn links(&self) -> HtmlCollection
[src]
The links
getter
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
pub fn forms(&self) -> HtmlCollection
[src]
The forms
getter
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
pub fn scripts(&self) -> HtmlCollection
[src]
The scripts
getter
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
pub fn default_view(&self) -> Option<Window>
[src]
The defaultView
getter
This API requires the following crate features to be activated: Document
, Window
impl Document
[src]
pub fn onreadystatechange(&self) -> Option<Function>
[src]
The onreadystatechange
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onreadystatechange(&self, onreadystatechange: Option<&Function>)
[src]
The onreadystatechange
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onbeforescriptexecute(&self) -> Option<Function>
[src]
The onbeforescriptexecute
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
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
impl Document
[src]
pub fn onafterscriptexecute(&self) -> Option<Function>
[src]
The onafterscriptexecute
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onafterscriptexecute(&self, onafterscriptexecute: Option<&Function>)
[src]
The onafterscriptexecute
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onselectionchange(&self) -> Option<Function>
[src]
The onselectionchange
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onselectionchange(&self, onselectionchange: Option<&Function>)
[src]
The onselectionchange
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn current_script(&self) -> Option<Element>
[src]
The currentScript
getter
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
pub fn anchors(&self) -> HtmlCollection
[src]
The anchors
getter
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
pub fn applets(&self) -> HtmlCollection
[src]
The applets
getter
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
pub fn fullscreen(&self) -> bool
[src]
The fullscreen
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn fullscreen_enabled(&self) -> bool
[src]
The fullscreenEnabled
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onfullscreenchange(&self) -> Option<Function>
[src]
The onfullscreenchange
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onfullscreenchange(&self, onfullscreenchange: Option<&Function>)
[src]
The onfullscreenchange
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onfullscreenerror(&self) -> Option<Function>
[src]
The onfullscreenerror
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onfullscreenerror(&self, onfullscreenerror: Option<&Function>)
[src]
The onfullscreenerror
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onpointerlockchange(&self) -> Option<Function>
[src]
The onpointerlockchange
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onpointerlockchange(&self, onpointerlockchange: Option<&Function>)
[src]
The onpointerlockchange
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onpointerlockerror(&self) -> Option<Function>
[src]
The onpointerlockerror
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onpointerlockerror(&self, onpointerlockerror: Option<&Function>)
[src]
The onpointerlockerror
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
[src]
The hidden
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn visibility_state(&self) -> VisibilityState
[src]
The visibilityState
getter
This API requires the following crate features to be activated: Document
, VisibilityState
impl Document
[src]
pub fn onvisibilitychange(&self) -> Option<Function>
[src]
The onvisibilitychange
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onvisibilitychange(&self, onvisibilitychange: Option<&Function>)
[src]
The onvisibilitychange
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn selected_style_sheet_set(&self) -> Option<String>
[src]
The selectedStyleSheetSet
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
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
impl Document
[src]
pub fn last_style_sheet_set(&self) -> Option<String>
[src]
The lastStyleSheetSet
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn preferred_style_sheet_set(&self) -> Option<String>
[src]
The preferredStyleSheetSet
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn style_sheet_sets(&self) -> DomStringList
[src]
The styleSheetSets
getter
This API requires the following crate features to be activated: Document
, DomStringList
impl Document
[src]
pub fn scrolling_element(&self) -> Option<Element>
[src]
The scrollingElement
getter
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
pub fn timeline(&self) -> DocumentTimeline
[src]
The timeline
getter
This API requires the following crate features to be activated: Document
, DocumentTimeline
impl Document
[src]
pub fn root_element(&self) -> Option<SvgsvgElement>
[src]
The rootElement
getter
This API requires the following crate features to be activated: Document
, SvgsvgElement
impl Document
[src]
pub fn oncopy(&self) -> Option<Function>
[src]
The oncopy
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_oncopy(&self, oncopy: Option<&Function>)
[src]
The oncopy
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn oncut(&self) -> Option<Function>
[src]
The oncut
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_oncut(&self, oncut: Option<&Function>)
[src]
The oncut
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onpaste(&self) -> Option<Function>
[src]
The onpaste
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onpaste(&self, onpaste: Option<&Function>)
[src]
The onpaste
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
pub fn active_element(&self) -> Option<Element>
[src]
The activeElement
getter
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
pub fn style_sheets(&self) -> StyleSheetList
[src]
The styleSheets
getter
This API requires the following crate features to be activated: Document
, StyleSheetList
impl Document
[src]
pub fn pointer_lock_element(&self) -> Option<Element>
[src]
The pointerLockElement
getter
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
pub fn fullscreen_element(&self) -> Option<Element>
[src]
The fullscreenElement
getter
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
pub fn fonts(&self) -> FontFaceSet
[src]
The fonts
getter
This API requires the following crate features to be activated: Document
, FontFaceSet
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
pub fn get_box_quads(&self) -> Result<Array, JsValue>
[src]
The getBoxQuads()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
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
impl Document
[src]
pub fn onabort(&self) -> Option<Function>
[src]
The onabort
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onabort(&self, onabort: Option<&Function>)
[src]
The onabort
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onblur(&self) -> Option<Function>
[src]
The onblur
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onblur(&self, onblur: Option<&Function>)
[src]
The onblur
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onfocus(&self) -> Option<Function>
[src]
The onfocus
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onfocus(&self, onfocus: Option<&Function>)
[src]
The onfocus
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onauxclick(&self) -> Option<Function>
[src]
The onauxclick
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onauxclick(&self, onauxclick: Option<&Function>)
[src]
The onauxclick
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn oncanplay(&self) -> Option<Function>
[src]
The oncanplay
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_oncanplay(&self, oncanplay: Option<&Function>)
[src]
The oncanplay
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn oncanplaythrough(&self) -> Option<Function>
[src]
The oncanplaythrough
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_oncanplaythrough(&self, oncanplaythrough: Option<&Function>)
[src]
The oncanplaythrough
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onchange(&self) -> Option<Function>
[src]
The onchange
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onchange(&self, onchange: Option<&Function>)
[src]
The onchange
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onclick(&self) -> Option<Function>
[src]
The onclick
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onclick(&self, onclick: Option<&Function>)
[src]
The onclick
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onclose(&self) -> Option<Function>
[src]
The onclose
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onclose(&self, onclose: Option<&Function>)
[src]
The onclose
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn oncontextmenu(&self) -> Option<Function>
[src]
The oncontextmenu
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_oncontextmenu(&self, oncontextmenu: Option<&Function>)
[src]
The oncontextmenu
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ondblclick(&self) -> Option<Function>
[src]
The ondblclick
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ondblclick(&self, ondblclick: Option<&Function>)
[src]
The ondblclick
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ondrag(&self) -> Option<Function>
[src]
The ondrag
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ondrag(&self, ondrag: Option<&Function>)
[src]
The ondrag
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ondragend(&self) -> Option<Function>
[src]
The ondragend
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ondragend(&self, ondragend: Option<&Function>)
[src]
The ondragend
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ondragenter(&self) -> Option<Function>
[src]
The ondragenter
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ondragenter(&self, ondragenter: Option<&Function>)
[src]
The ondragenter
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ondragexit(&self) -> Option<Function>
[src]
The ondragexit
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ondragexit(&self, ondragexit: Option<&Function>)
[src]
The ondragexit
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ondragleave(&self) -> Option<Function>
[src]
The ondragleave
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ondragleave(&self, ondragleave: Option<&Function>)
[src]
The ondragleave
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ondragover(&self) -> Option<Function>
[src]
The ondragover
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ondragover(&self, ondragover: Option<&Function>)
[src]
The ondragover
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ondragstart(&self) -> Option<Function>
[src]
The ondragstart
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ondragstart(&self, ondragstart: Option<&Function>)
[src]
The ondragstart
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ondrop(&self) -> Option<Function>
[src]
The ondrop
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ondrop(&self, ondrop: Option<&Function>)
[src]
The ondrop
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ondurationchange(&self) -> Option<Function>
[src]
The ondurationchange
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ondurationchange(&self, ondurationchange: Option<&Function>)
[src]
The ondurationchange
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onemptied(&self) -> Option<Function>
[src]
The onemptied
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onemptied(&self, onemptied: Option<&Function>)
[src]
The onemptied
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onended(&self) -> Option<Function>
[src]
The onended
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onended(&self, onended: Option<&Function>)
[src]
The onended
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn oninput(&self) -> Option<Function>
[src]
The oninput
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_oninput(&self, oninput: Option<&Function>)
[src]
The oninput
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn oninvalid(&self) -> Option<Function>
[src]
The oninvalid
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_oninvalid(&self, oninvalid: Option<&Function>)
[src]
The oninvalid
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onkeydown(&self) -> Option<Function>
[src]
The onkeydown
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onkeydown(&self, onkeydown: Option<&Function>)
[src]
The onkeydown
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onkeypress(&self) -> Option<Function>
[src]
The onkeypress
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onkeypress(&self, onkeypress: Option<&Function>)
[src]
The onkeypress
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onkeyup(&self) -> Option<Function>
[src]
The onkeyup
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onkeyup(&self, onkeyup: Option<&Function>)
[src]
The onkeyup
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onload(&self) -> Option<Function>
[src]
The onload
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onload(&self, onload: Option<&Function>)
[src]
The onload
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onloadeddata(&self) -> Option<Function>
[src]
The onloadeddata
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onloadeddata(&self, onloadeddata: Option<&Function>)
[src]
The onloadeddata
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onloadedmetadata(&self) -> Option<Function>
[src]
The onloadedmetadata
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onloadedmetadata(&self, onloadedmetadata: Option<&Function>)
[src]
The onloadedmetadata
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onloadend(&self) -> Option<Function>
[src]
The onloadend
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onloadend(&self, onloadend: Option<&Function>)
[src]
The onloadend
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onloadstart(&self) -> Option<Function>
[src]
The onloadstart
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onloadstart(&self, onloadstart: Option<&Function>)
[src]
The onloadstart
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onmousedown(&self) -> Option<Function>
[src]
The onmousedown
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onmousedown(&self, onmousedown: Option<&Function>)
[src]
The onmousedown
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onmouseenter(&self) -> Option<Function>
[src]
The onmouseenter
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onmouseenter(&self, onmouseenter: Option<&Function>)
[src]
The onmouseenter
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onmouseleave(&self) -> Option<Function>
[src]
The onmouseleave
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onmouseleave(&self, onmouseleave: Option<&Function>)
[src]
The onmouseleave
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onmousemove(&self) -> Option<Function>
[src]
The onmousemove
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onmousemove(&self, onmousemove: Option<&Function>)
[src]
The onmousemove
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onmouseout(&self) -> Option<Function>
[src]
The onmouseout
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onmouseout(&self, onmouseout: Option<&Function>)
[src]
The onmouseout
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onmouseover(&self) -> Option<Function>
[src]
The onmouseover
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onmouseover(&self, onmouseover: Option<&Function>)
[src]
The onmouseover
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onmouseup(&self) -> Option<Function>
[src]
The onmouseup
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onmouseup(&self, onmouseup: Option<&Function>)
[src]
The onmouseup
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onwheel(&self) -> Option<Function>
[src]
The onwheel
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onwheel(&self, onwheel: Option<&Function>)
[src]
The onwheel
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onpause(&self) -> Option<Function>
[src]
The onpause
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onpause(&self, onpause: Option<&Function>)
[src]
The onpause
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onplay(&self) -> Option<Function>
[src]
The onplay
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onplay(&self, onplay: Option<&Function>)
[src]
The onplay
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onplaying(&self) -> Option<Function>
[src]
The onplaying
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onplaying(&self, onplaying: Option<&Function>)
[src]
The onplaying
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onprogress(&self) -> Option<Function>
[src]
The onprogress
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onprogress(&self, onprogress: Option<&Function>)
[src]
The onprogress
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onratechange(&self) -> Option<Function>
[src]
The onratechange
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onratechange(&self, onratechange: Option<&Function>)
[src]
The onratechange
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onreset(&self) -> Option<Function>
[src]
The onreset
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onreset(&self, onreset: Option<&Function>)
[src]
The onreset
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onresize(&self) -> Option<Function>
[src]
The onresize
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onresize(&self, onresize: Option<&Function>)
[src]
The onresize
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onscroll(&self) -> Option<Function>
[src]
The onscroll
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onscroll(&self, onscroll: Option<&Function>)
[src]
The onscroll
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onseeked(&self) -> Option<Function>
[src]
The onseeked
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onseeked(&self, onseeked: Option<&Function>)
[src]
The onseeked
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onseeking(&self) -> Option<Function>
[src]
The onseeking
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onseeking(&self, onseeking: Option<&Function>)
[src]
The onseeking
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onselect(&self) -> Option<Function>
[src]
The onselect
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onselect(&self, onselect: Option<&Function>)
[src]
The onselect
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onshow(&self) -> Option<Function>
[src]
The onshow
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onshow(&self, onshow: Option<&Function>)
[src]
The onshow
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onstalled(&self) -> Option<Function>
[src]
The onstalled
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onstalled(&self, onstalled: Option<&Function>)
[src]
The onstalled
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onsubmit(&self) -> Option<Function>
[src]
The onsubmit
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onsubmit(&self, onsubmit: Option<&Function>)
[src]
The onsubmit
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onsuspend(&self) -> Option<Function>
[src]
The onsuspend
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onsuspend(&self, onsuspend: Option<&Function>)
[src]
The onsuspend
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ontimeupdate(&self) -> Option<Function>
[src]
The ontimeupdate
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ontimeupdate(&self, ontimeupdate: Option<&Function>)
[src]
The ontimeupdate
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onvolumechange(&self) -> Option<Function>
[src]
The onvolumechange
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onvolumechange(&self, onvolumechange: Option<&Function>)
[src]
The onvolumechange
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onwaiting(&self) -> Option<Function>
[src]
The onwaiting
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onwaiting(&self, onwaiting: Option<&Function>)
[src]
The onwaiting
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onselectstart(&self) -> Option<Function>
[src]
The onselectstart
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onselectstart(&self, onselectstart: Option<&Function>)
[src]
The onselectstart
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ontoggle(&self) -> Option<Function>
[src]
The ontoggle
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ontoggle(&self, ontoggle: Option<&Function>)
[src]
The ontoggle
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onpointercancel(&self) -> Option<Function>
[src]
The onpointercancel
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onpointercancel(&self, onpointercancel: Option<&Function>)
[src]
The onpointercancel
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onpointerdown(&self) -> Option<Function>
[src]
The onpointerdown
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onpointerdown(&self, onpointerdown: Option<&Function>)
[src]
The onpointerdown
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onpointerup(&self) -> Option<Function>
[src]
The onpointerup
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onpointerup(&self, onpointerup: Option<&Function>)
[src]
The onpointerup
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onpointermove(&self) -> Option<Function>
[src]
The onpointermove
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onpointermove(&self, onpointermove: Option<&Function>)
[src]
The onpointermove
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onpointerout(&self) -> Option<Function>
[src]
The onpointerout
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onpointerout(&self, onpointerout: Option<&Function>)
[src]
The onpointerout
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onpointerover(&self) -> Option<Function>
[src]
The onpointerover
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onpointerover(&self, onpointerover: Option<&Function>)
[src]
The onpointerover
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onpointerenter(&self) -> Option<Function>
[src]
The onpointerenter
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onpointerenter(&self, onpointerenter: Option<&Function>)
[src]
The onpointerenter
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onpointerleave(&self) -> Option<Function>
[src]
The onpointerleave
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onpointerleave(&self, onpointerleave: Option<&Function>)
[src]
The onpointerleave
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ongotpointercapture(&self) -> Option<Function>
[src]
The ongotpointercapture
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ongotpointercapture(&self, ongotpointercapture: Option<&Function>)
[src]
The ongotpointercapture
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onlostpointercapture(&self) -> Option<Function>
[src]
The onlostpointercapture
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onlostpointercapture(&self, onlostpointercapture: Option<&Function>)
[src]
The onlostpointercapture
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onanimationcancel(&self) -> Option<Function>
[src]
The onanimationcancel
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onanimationcancel(&self, onanimationcancel: Option<&Function>)
[src]
The onanimationcancel
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onanimationend(&self) -> Option<Function>
[src]
The onanimationend
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onanimationend(&self, onanimationend: Option<&Function>)
[src]
The onanimationend
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onanimationiteration(&self) -> Option<Function>
[src]
The onanimationiteration
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onanimationiteration(&self, onanimationiteration: Option<&Function>)
[src]
The onanimationiteration
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onanimationstart(&self) -> Option<Function>
[src]
The onanimationstart
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onanimationstart(&self, onanimationstart: Option<&Function>)
[src]
The onanimationstart
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ontransitioncancel(&self) -> Option<Function>
[src]
The ontransitioncancel
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ontransitioncancel(&self, ontransitioncancel: Option<&Function>)
[src]
The ontransitioncancel
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ontransitionend(&self) -> Option<Function>
[src]
The ontransitionend
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ontransitionend(&self, ontransitionend: Option<&Function>)
[src]
The ontransitionend
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ontransitionrun(&self) -> Option<Function>
[src]
The ontransitionrun
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ontransitionrun(&self, ontransitionrun: Option<&Function>)
[src]
The ontransitionrun
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ontransitionstart(&self) -> Option<Function>
[src]
The ontransitionstart
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ontransitionstart(&self, ontransitionstart: Option<&Function>)
[src]
The ontransitionstart
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onwebkitanimationend(&self) -> Option<Function>
[src]
The onwebkitanimationend
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onwebkitanimationend(&self, onwebkitanimationend: Option<&Function>)
[src]
The onwebkitanimationend
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn onwebkitanimationiteration(&self) -> Option<Function>
[src]
The onwebkitanimationiteration
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
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
impl Document
[src]
pub fn onwebkitanimationstart(&self) -> Option<Function>
[src]
The onwebkitanimationstart
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
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
impl Document
[src]
pub fn onwebkittransitionend(&self) -> Option<Function>
[src]
The onwebkittransitionend
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
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
impl Document
[src]
pub fn onerror(&self) -> Option<Function>
[src]
The onerror
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_onerror(&self, onerror: Option<&Function>)
[src]
The onerror
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
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
impl Document
[src]
pub fn append_with_node_0(&self) -> Result<(), JsValue>
[src]
The append()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
pub fn append_with_str_0(&self) -> Result<(), JsValue>
[src]
The append()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
pub fn prepend_with_node_0(&self) -> Result<(), JsValue>
[src]
The prepend()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
pub fn prepend_with_str_0(&self) -> Result<(), JsValue>
[src]
The prepend()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
pub fn children(&self) -> HtmlCollection
[src]
The children
getter
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
pub fn first_element_child(&self) -> Option<Element>
[src]
The firstElementChild
getter
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
pub fn last_element_child(&self) -> Option<Element>
[src]
The lastElementChild
getter
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
pub fn child_element_count(&self) -> u32
[src]
The childElementCount
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ontouchstart(&self) -> Option<Function>
[src]
The ontouchstart
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ontouchstart(&self, ontouchstart: Option<&Function>)
[src]
The ontouchstart
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ontouchend(&self) -> Option<Function>
[src]
The ontouchend
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ontouchend(&self, ontouchend: Option<&Function>)
[src]
The ontouchend
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ontouchmove(&self) -> Option<Function>
[src]
The ontouchmove
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ontouchmove(&self, ontouchmove: Option<&Function>)
[src]
The ontouchmove
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn ontouchcancel(&self) -> Option<Function>
[src]
The ontouchcancel
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
pub fn set_ontouchcancel(&self, ontouchcancel: Option<&Function>)
[src]
The ontouchcancel
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
impl Document
[src]
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
Methods from Deref<Target = Node>
pub fn append_child(&self, node: &Node) -> Result<Node, JsValue>
[src]
The appendChild()
method
This API requires the following crate features to be activated: Node
pub fn clone_node(&self) -> Result<Node, JsValue>
[src]
The cloneNode()
method
This API requires the following crate features to be activated: Node
pub fn clone_node_with_deep(&self, deep: bool) -> Result<Node, JsValue>
[src]
The cloneNode()
method
This API requires the following crate features to be activated: Node
pub fn compare_document_position(&self, other: &Node) -> u16
[src]
The compareDocumentPosition()
method
This API requires the following crate features to be activated: Node
pub fn contains(&self, other: Option<&Node>) -> bool
[src]
The contains()
method
This API requires the following crate features to be activated: Node
pub fn get_root_node(&self) -> Node
[src]
The getRootNode()
method
This API requires the following crate features to be activated: Node
pub fn get_root_node_with_options(&self, options: &GetRootNodeOptions) -> Node
[src]
The getRootNode()
method
This API requires the following crate features to be activated: GetRootNodeOptions
, Node
pub fn has_child_nodes(&self) -> bool
[src]
The hasChildNodes()
method
This API requires the following crate features to be activated: Node
pub fn insert_before(
&self,
node: &Node,
child: Option<&Node>
) -> Result<Node, JsValue>
[src]
&self,
node: &Node,
child: Option<&Node>
) -> Result<Node, JsValue>
The insertBefore()
method
This API requires the following crate features to be activated: Node
pub fn is_default_namespace(&self, namespace: Option<&str>) -> bool
[src]
The isDefaultNamespace()
method
This API requires the following crate features to be activated: Node
pub fn is_equal_node(&self, node: Option<&Node>) -> bool
[src]
The isEqualNode()
method
This API requires the following crate features to be activated: Node
pub fn is_same_node(&self, node: Option<&Node>) -> bool
[src]
The isSameNode()
method
This API requires the following crate features to be activated: Node
pub fn lookup_namespace_uri(&self, prefix: Option<&str>) -> Option<String>
[src]
The lookupNamespaceURI()
method
This API requires the following crate features to be activated: Node
pub fn lookup_prefix(&self, namespace: Option<&str>) -> Option<String>
[src]
The lookupPrefix()
method
This API requires the following crate features to be activated: Node
pub fn normalize(&self)
[src]
The normalize()
method
This API requires the following crate features to be activated: Node
pub fn remove_child(&self, child: &Node) -> Result<Node, JsValue>
[src]
The removeChild()
method
This API requires the following crate features to be activated: Node
pub fn replace_child(&self, node: &Node, child: &Node) -> Result<Node, JsValue>
[src]
The replaceChild()
method
This API requires the following crate features to be activated: Node
pub fn node_type(&self) -> u16
[src]
The nodeType
getter
This API requires the following crate features to be activated: Node
pub fn node_name(&self) -> String
[src]
The nodeName
getter
This API requires the following crate features to be activated: Node
pub fn base_uri(&self) -> Result<Option<String>, JsValue>
[src]
The baseURI
getter
This API requires the following crate features to be activated: Node
pub fn is_connected(&self) -> bool
[src]
The isConnected
getter
This API requires the following crate features to be activated: Node
pub fn owner_document(&self) -> Option<Document>
[src]
The ownerDocument
getter
This API requires the following crate features to be activated: Document
, Node
pub fn parent_node(&self) -> Option<Node>
[src]
The parentNode
getter
This API requires the following crate features to be activated: Node
pub fn parent_element(&self) -> Option<Element>
[src]
The parentElement
getter
This API requires the following crate features to be activated: Element
, Node
pub fn child_nodes(&self) -> NodeList
[src]
The childNodes
getter
This API requires the following crate features to be activated: Node
, NodeList
pub fn first_child(&self) -> Option<Node>
[src]
The firstChild
getter
This API requires the following crate features to be activated: Node
pub fn last_child(&self) -> Option<Node>
[src]
The lastChild
getter
This API requires the following crate features to be activated: Node
pub fn previous_sibling(&self) -> Option<Node>
[src]
The previousSibling
getter
This API requires the following crate features to be activated: Node
pub fn next_sibling(&self) -> Option<Node>
[src]
The nextSibling
getter
This API requires the following crate features to be activated: Node
pub fn node_value(&self) -> Option<String>
[src]
The nodeValue
getter
This API requires the following crate features to be activated: Node
pub fn set_node_value(&self, node_value: Option<&str>)
[src]
The nodeValue
setter
This API requires the following crate features to be activated: Node
pub fn text_content(&self) -> Option<String>
[src]
The textContent
getter
This API requires the following crate features to be activated: Node
pub fn set_text_content(&self, text_content: Option<&str>)
[src]
The textContent
setter
This API requires the following crate features to be activated: Node
pub const ELEMENT_NODE: u16
[src]
pub const ATTRIBUTE_NODE: u16
[src]
pub const CDATA_SECTION_NODE: u16
[src]
pub const ENTITY_REFERENCE_NODE: u16
[src]
pub const ENTITY_NODE: u16
[src]
pub const PROCESSING_INSTRUCTION_NODE: u16
[src]
pub const COMMENT_NODE: u16
[src]
pub const DOCUMENT_NODE: u16
[src]
pub const DOCUMENT_TYPE_NODE: u16
[src]
pub const DOCUMENT_FRAGMENT_NODE: u16
[src]
pub const NOTATION_NODE: u16
[src]
pub const DOCUMENT_POSITION_DISCONNECTED: u16
[src]
pub const DOCUMENT_POSITION_PRECEDING: u16
[src]
pub const DOCUMENT_POSITION_FOLLOWING: u16
[src]
pub const DOCUMENT_POSITION_CONTAINS: u16
[src]
pub const DOCUMENT_POSITION_CONTAINED_BY: u16
[src]
Trait Implementations
impl AsRef<Document> for Document
[src]
impl AsRef<Document> for HtmlDocument
[src]
impl AsRef<Document> for XmlDocument
[src]
impl AsRef<EventTarget> for Document
[src]
fn as_ref(&self) -> &EventTarget
[src]
impl AsRef<JsValue> for Document
[src]
impl AsRef<Node> for Document
[src]
impl AsRef<Object> for Document
[src]
impl Clone for Document
[src]
impl Debug for Document
[src]
impl Deref for Document
[src]
impl Eq for Document
[src]
impl From<Document> for JsValue
[src]
impl From<Document> for Node
[src]
impl From<Document> for EventTarget
[src]
fn from(obj: Document) -> EventTarget
[src]
impl From<Document> for Object
[src]
impl From<HtmlDocument> for Document
[src]
fn from(obj: HtmlDocument) -> Document
[src]
impl From<JsValue> for Document
[src]
impl From<XmlDocument> for Document
[src]
fn from(obj: XmlDocument) -> Document
[src]
impl FromWasmAbi for Document
[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 IntoWasmAbi for Document
[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 Document
[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 JsCast for Document
[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,
fn dyn_into<T>(self) -> Result<T, Self> where
T: JsCast,
[src]
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T> where
T: JsCast,
[src]
T: JsCast,
fn unchecked_into<T>(self) -> T where
T: JsCast,
[src]
T: JsCast,
fn unchecked_ref<T>(&self) -> &T where
T: JsCast,
[src]
T: JsCast,
fn is_instance_of<T>(&self) -> bool where
T: JsCast,
[src]
T: JsCast,
fn is_type_of(val: &JsValue) -> bool
[src]
impl OptionFromWasmAbi for Document
[src]
impl OptionIntoWasmAbi for Document
[src]
impl<'a> OptionIntoWasmAbi for &'a Document
[src]
impl PartialEq<Document> for Document
[src]
impl RefFromWasmAbi for Document
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
The wasm ABI type references to Self
are recovered from.
type Anchor = ManuallyDrop<Document>
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 StructuralEq for Document
[src]
impl StructuralPartialEq for Document
[src]
impl WasmDescribe for Document
[src]
Auto Trait Implementations
impl RefUnwindSafe for Document
impl !Send for Document
impl !Sync for Document
impl Unpin for Document
impl UnwindSafe for Document
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
[src]
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
[src]
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, 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>,