[−][src]Struct headless_chrome::protocol::dom::Node
Fields
node_id: NodeId
backend_node_id: NodeId
children: Option<Vec<Node>>
parent_id: Option<NodeId>
node_value: String
node_name: String
node_type: JsUInt
attributes: Option<NodeAttributes>
local_name: String
child_node_count: Option<JsUInt>
document_url: Option<String>
base_url: Option<String>
public_id: Option<String>
system_id: Option<String>
internal_subset: Option<String>
xml_version: Option<String>
name: Option<String>
value: Option<String>
pseudo_type: Option<PseudoType>
shadow_root_type: Option<ShadowRootType>
frame_id: Option<String>
content_document: Option<Box<Node>>
shadow_roots: Option<Vec<Node>>
pseudo_elements: Option<Vec<Node>>
imported_document: Option<Box<Node>>
distributed_nodes: Option<Vec<BackendNode>>
is_svg: Option<bool>
Methods
impl Node
[src]
pub fn find<F: FnMut(&Self) -> bool>(&self, predicate: F) -> Option<&Self>
[src]
Returns the first node for which the given closure returns true.
Nodes are inspected breadth-first down their children.
Trait Implementations
impl Clone for Node
[src]
fn clone(&self) -> Node
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Node
[src]
impl<'de> Deserialize<'de> for Node
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Unpin for Node
impl Send for Node
impl Sync for Node
impl UnwindSafe for Node
impl RefUnwindSafe for Node
Blanket Implementations
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> Typeable for T where
T: Any,
T: Any,