Struct chrome_remote_interface_model::dom::NodeBuilder [−][src]
DOM
and Runtime
only.Implementations
impl NodeBuilder
[src]
pub fn node_id(&mut self, v: NodeId) -> &mut Self
[src]
Node identifier that is passed into the rest of the DOM messages as the nodeId
. Backend
will only push node with given id
once. It is aware of all requested nodes and will only
fire DOM events for nodes known to the client.
pub fn parent_id(&mut self, v: NodeId) -> &mut Self
[src]
The id of the parent node if any.
pub fn backend_node_id(&mut self, v: BackendNodeId) -> &mut Self
[src]
The BackendNodeId for this node.
pub fn node_type(&mut self, v: u32) -> &mut Self
[src]
Node
's nodeType.
pub fn node_name(&mut self, v: String) -> &mut Self
[src]
Node
's nodeName.
pub fn local_name(&mut self, v: String) -> &mut Self
[src]
Node
's localName.
pub fn node_value(&mut self, v: String) -> &mut Self
[src]
Node
's nodeValue.
pub fn child_node_count(&mut self, v: u32) -> &mut Self
[src]
Child count for Container
nodes.
pub fn children(&mut self, v: Vec<Node>) -> &mut Self
[src]
Child nodes of this node when requested with children.
pub fn attributes(&mut self, v: Vec<String>) -> &mut Self
[src]
Attributes of the Element
node in the form of flat array [name1, value1, name2, value2]
.
pub fn document_url(&mut self, v: String) -> &mut Self
[src]
Document URL that Document
or FrameOwner
node points to.
pub fn base_url(&mut self, v: String) -> &mut Self
[src]
Base URL that Document
or FrameOwner
node uses for URL completion.
pub fn public_id(&mut self, v: String) -> &mut Self
[src]
DocumentType
's publicId.
pub fn system_id(&mut self, v: String) -> &mut Self
[src]
DocumentType
's systemId.
pub fn internal_subset(&mut self, v: String) -> &mut Self
[src]
DocumentType
's internalSubset.
pub fn xml_version(&mut self, v: String) -> &mut Self
[src]
Document
's XML version in case of XML documents.
pub fn name(&mut self, v: String) -> &mut Self
[src]
Attr
's name.
pub fn value(&mut self, v: String) -> &mut Self
[src]
Attr
's value.
pub fn pseudo_type(&mut self, v: PseudoType) -> &mut Self
[src]
Pseudo element type for this node.
pub fn shadow_root_type(&mut self, v: ShadowRootType) -> &mut Self
[src]
Shadow root type.
pub fn frame_id(&mut self, v: FrameId) -> &mut Self
[src]
Frame ID for frame owner elements.
pub fn content_document(&mut self, v: Node) -> &mut Self
[src]
Content document for frame owner elements.
pub fn shadow_roots(&mut self, v: Vec<Node>) -> &mut Self
[src]
Shadow root list for given element host.
pub fn template_content(&mut self, v: Node) -> &mut Self
[src]
Content document fragment for template elements.
pub fn pseudo_elements(&mut self, v: Vec<Node>) -> &mut Self
[src]
Pseudo elements associated with this node.
pub fn imported_document(&mut self, v: Node) -> &mut Self
[src]
Import document for the HTMLImport links.
pub fn distributed_nodes(&mut self, v: Vec<BackendNode>) -> &mut Self
[src]
Distributed nodes for given insertion point.
pub fn is_svg(&mut self, v: bool) -> &mut Self
[src]
Whether the node is SVG.
pub fn build(&mut self) -> Result<Node, &'static str>
[src]
Trait Implementations
impl Clone for NodeBuilder
[src]
fn clone(&self) -> NodeBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for NodeBuilder
[src]
impl Default for NodeBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for NodeBuilder
[src]
impl Send for NodeBuilder
[src]
impl Sync for NodeBuilder
[src]
impl Unpin for NodeBuilder
[src]
impl UnwindSafe for NodeBuilder
[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>,