Struct chromiumoxide::cdp::browser_protocol::dom::NodeBuilder
source · pub struct NodeBuilder { /* private fields */ }Implementations§
source§impl NodeBuilder
impl NodeBuilder
pub fn node_id(self, node_id: impl Into<NodeId>) -> NodeBuilder
pub fn parent_id(self, parent_id: impl Into<NodeId>) -> NodeBuilder
pub fn backend_node_id( self, backend_node_id: impl Into<BackendNodeId> ) -> NodeBuilder
pub fn node_type(self, node_type: impl Into<i64>) -> NodeBuilder
pub fn node_name(self, node_name: impl Into<String>) -> NodeBuilder
pub fn local_name(self, local_name: impl Into<String>) -> NodeBuilder
pub fn node_value(self, node_value: impl Into<String>) -> NodeBuilder
pub fn child_node_count(self, child_node_count: impl Into<i64>) -> NodeBuilder
pub fn children(self, children: impl Into<Node>) -> NodeBuilder
pub fn childrens<I, S>(self, childrens: I) -> NodeBuilderwhere I: IntoIterator<Item = S>, S: Into<Node>,
pub fn attribute(self, attribute: impl Into<String>) -> NodeBuilder
pub fn attributes<I, S>(self, attributes: I) -> NodeBuilderwhere I: IntoIterator<Item = S>, S: Into<String>,
pub fn document_url(self, document_url: impl Into<String>) -> NodeBuilder
pub fn base_url(self, base_url: impl Into<String>) -> NodeBuilder
pub fn public_id(self, public_id: impl Into<String>) -> NodeBuilder
pub fn system_id(self, system_id: impl Into<String>) -> NodeBuilder
pub fn internal_subset(self, internal_subset: impl Into<String>) -> NodeBuilder
pub fn xml_version(self, xml_version: impl Into<String>) -> NodeBuilder
pub fn name(self, name: impl Into<String>) -> NodeBuilder
pub fn value(self, value: impl Into<String>) -> NodeBuilder
pub fn pseudo_type(self, pseudo_type: impl Into<PseudoType>) -> NodeBuilder
pub fn pseudo_identifier( self, pseudo_identifier: impl Into<String> ) -> NodeBuilder
pub fn shadow_root_type( self, shadow_root_type: impl Into<ShadowRootType> ) -> NodeBuilder
pub fn frame_id(self, frame_id: impl Into<FrameId>) -> NodeBuilder
pub fn content_document(self, content_document: impl Into<Node>) -> NodeBuilder
pub fn shadow_root(self, shadow_root: impl Into<Node>) -> NodeBuilder
pub fn shadow_roots<I, S>(self, shadow_roots: I) -> NodeBuilderwhere I: IntoIterator<Item = S>, S: Into<Node>,
pub fn template_content(self, template_content: impl Into<Node>) -> NodeBuilder
pub fn pseudo_element(self, pseudo_element: impl Into<Node>) -> NodeBuilder
pub fn pseudo_elements<I, S>(self, pseudo_elements: I) -> NodeBuilderwhere I: IntoIterator<Item = S>, S: Into<Node>,
pub fn distributed_node( self, distributed_node: impl Into<BackendNode> ) -> NodeBuilder
pub fn distributed_nodes<I, S>(self, distributed_nodes: I) -> NodeBuilderwhere I: IntoIterator<Item = S>, S: Into<BackendNode>,
pub fn is_svg(self, is_svg: impl Into<bool>) -> NodeBuilder
pub fn compatibility_mode( self, compatibility_mode: impl Into<CompatibilityMode> ) -> NodeBuilder
pub fn assigned_slot(self, assigned_slot: impl Into<BackendNode>) -> NodeBuilder
pub fn build(self) -> Result<Node, String>
Trait Implementations§
source§impl Clone for NodeBuilder
impl Clone for NodeBuilder
source§fn clone(&self) -> NodeBuilder
fn clone(&self) -> NodeBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for NodeBuilder
impl Default for NodeBuilder
source§fn default() -> NodeBuilder
fn default() -> NodeBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for NodeBuilder
impl Send for NodeBuilder
impl Sync for NodeBuilder
impl Unpin for NodeBuilder
impl UnwindSafe for NodeBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more