pub struct GetNodesForSubtreeByStyleParams {
pub node_id: NodeId,
pub computed_styles: Vec<CssComputedStyleProperty>,
pub pierce: Option<bool>,
}Expand description
Finds nodes with a given computed style in a subtree.
Experimental: may change without notice.
Parameters of DOM.getNodesForSubtreeByStyle.
Fields§
§node_id: NodeIdNode ID pointing to the root of a subtree.
computed_styles: Vec<CssComputedStyleProperty>The style to filter nodes by (includes nodes if any of properties matches).
pierce: Option<bool>Whether or not iframes and shadow roots in the same target should be traversed when returning the results (default is false).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetNodesForSubtreeByStyleParams
impl<'de> Deserialize<'de> for GetNodesForSubtreeByStyleParams
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
impl StructuralPartialEq for GetNodesForSubtreeByStyleParams
Auto Trait Implementations§
impl Forget for GetNodesForSubtreeByStyleParams
impl Freeze for GetNodesForSubtreeByStyleParams
impl RefUnwindSafe for GetNodesForSubtreeByStyleParams
impl Send for GetNodesForSubtreeByStyleParams
impl Sync for GetNodesForSubtreeByStyleParams
impl Unpin for GetNodesForSubtreeByStyleParams
impl UnsafeUnpin for GetNodesForSubtreeByStyleParams
impl UnwindSafe for GetNodesForSubtreeByStyleParams
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