pub struct GetNodesForSubtreeByStyle {
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.
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 Clone for GetNodesForSubtreeByStyle
impl Clone for GetNodesForSubtreeByStyle
Source§fn clone(&self) -> GetNodesForSubtreeByStyle
fn clone(&self) -> GetNodesForSubtreeByStyle
Returns a duplicate 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 GetNodesForSubtreeByStyle
impl Debug for GetNodesForSubtreeByStyle
Source§impl<'de> Deserialize<'de> for GetNodesForSubtreeByStyle
impl<'de> Deserialize<'de> for GetNodesForSubtreeByStyle
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
Source§impl Method for GetNodesForSubtreeByStyle
impl Method for GetNodesForSubtreeByStyle
const NAME: &'static str = "DOM.getNodesForSubtreeByStyle"
type ReturnObject = GetNodesForSubtreeByStyleReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
impl StructuralPartialEq for GetNodesForSubtreeByStyle
Auto Trait Implementations§
impl Freeze for GetNodesForSubtreeByStyle
impl RefUnwindSafe for GetNodesForSubtreeByStyle
impl Send for GetNodesForSubtreeByStyle
impl Sync for GetNodesForSubtreeByStyle
impl Unpin for GetNodesForSubtreeByStyle
impl UnsafeUnpin for GetNodesForSubtreeByStyle
impl UnwindSafe for GetNodesForSubtreeByStyle
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