Struct chrome_remote_interface_model::dom_snapshot::NodeTreeSnapshotBuilder [−][src]
experimental
and DOMSnapshot
and CSS
and DOM
and DOMDebugger
and Page
only.Implementations
impl NodeTreeSnapshotBuilder
[src]
pub fn parent_index(&mut self, v: Vec<u32>) -> &mut Self
[src]
Parent node index.
pub fn node_type(&mut self, v: Vec<u32>) -> &mut Self
[src]
Node
's nodeType.
pub fn node_name(&mut self, v: Vec<StringIndex>) -> &mut Self
[src]
Node
's nodeName.
pub fn node_value(&mut self, v: Vec<StringIndex>) -> &mut Self
[src]
Node
's nodeValue.
pub fn backend_node_id(&mut self, v: Vec<BackendNodeId>) -> &mut Self
[src]
Node
's id, corresponds to DOM.Node.backendNodeId.
pub fn attributes(&mut self, v: Vec<ArrayOfStrings>) -> &mut Self
[src]
Attributes of an Element
node. Flatten name, value pairs.
pub fn text_value(&mut self, v: RareStringData) -> &mut Self
[src]
Only set for textarea elements, contains the text value.
pub fn input_value(&mut self, v: RareStringData) -> &mut Self
[src]
Only set for input elements, contains the input's associated text value.
pub fn input_checked(&mut self, v: RareBooleanData) -> &mut Self
[src]
Only set for radio and checkbox input elements, indicates if the element has been checked
pub fn option_selected(&mut self, v: RareBooleanData) -> &mut Self
[src]
Only set for option elements, indicates if the element has been selected
pub fn content_document_index(&mut self, v: RareIntegerData) -> &mut Self
[src]
The index of the document in the list of the snapshot documents.
pub fn pseudo_type(&mut self, v: RareStringData) -> &mut Self
[src]
Type of a pseudo element node.
pub fn is_clickable(&mut self, v: RareBooleanData) -> &mut Self
[src]
Whether this DOM node responds to mouse clicks. This includes nodes that have had click event listeners attached via JavaScript as well as anchor tags that naturally navigate when clicked.
pub fn current_source_url(&mut self, v: RareStringData) -> &mut Self
[src]
The selected url for nodes with a srcset attribute.
pub fn origin_url(&mut self, v: RareStringData) -> &mut Self
[src]
The url of the script (if any) that generates this node.
pub fn build(&mut self) -> Result<NodeTreeSnapshot, &'static str>
[src]
Trait Implementations
impl Clone for NodeTreeSnapshotBuilder
[src]
fn clone(&self) -> NodeTreeSnapshotBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for NodeTreeSnapshotBuilder
[src]
impl Default for NodeTreeSnapshotBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for NodeTreeSnapshotBuilder
[src]
impl Send for NodeTreeSnapshotBuilder
[src]
impl Sync for NodeTreeSnapshotBuilder
[src]
impl Unpin for NodeTreeSnapshotBuilder
[src]
impl UnwindSafe for NodeTreeSnapshotBuilder
[src]
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,
pub 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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,