Struct headless_chrome::protocol::cdp::DOMSnapshot::LayoutTreeNode
source · pub struct LayoutTreeNode {
pub dom_node_index: JsUInt,
pub bounding_box: Rect,
pub layout_text: Option<String>,
pub inline_text_nodes: Option<Vec<InlineTextBox>>,
pub style_index: Option<JsUInt>,
pub paint_order: Option<JsUInt>,
pub is_stacking_context: Option<bool>,
}Fields§
§dom_node_index: JsUInt§bounding_box: Rect§layout_text: Option<String>§inline_text_nodes: Option<Vec<InlineTextBox>>§style_index: Option<JsUInt>§paint_order: Option<JsUInt>§is_stacking_context: Option<bool>Trait Implementations§
source§impl Clone for LayoutTreeNode
impl Clone for LayoutTreeNode
source§fn clone(&self) -> LayoutTreeNode
fn clone(&self) -> LayoutTreeNode
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 Debug for LayoutTreeNode
impl Debug for LayoutTreeNode
source§impl<'de> Deserialize<'de> for LayoutTreeNode
impl<'de> Deserialize<'de> for LayoutTreeNode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more