Struct chrome_remote_interface_model::dom::GetNodesForSubtreeByStyleCommand[][src]

pub struct GetNodesForSubtreeByStyleCommand { /* fields omitted */ }
This is supported on crate features DOM and Runtime and experimental only.

Finds nodes with a given computed style in a subtree.

Implementations

impl GetNodesForSubtreeByStyleCommand[src]

pub fn new(
    node_id: NodeId,
    computed_styles: Vec<CssComputedStyleProperty>,
    pierce: Option<bool>
) -> Self
[src]

pub fn node_id(&self) -> &NodeId[src]

Node ID pointing to the root of a subtree.

pub fn computed_styles(&self) -> &[CssComputedStyleProperty]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

The style to filter nodes by (includes nodes if any of properties matches).

pub fn pierce(&self) -> Option<&bool>[src]

Whether or not iframes and shadow roots in the same target should be traversed when returning the results (default is false).

Trait Implementations

impl Clone for GetNodesForSubtreeByStyleCommand[src]

impl Command for GetNodesForSubtreeByStyleCommand[src]

type Return = GetNodesForSubtreeByStyleReturn

Return type.

impl Debug for GetNodesForSubtreeByStyleCommand[src]

impl<'de> Deserialize<'de> for GetNodesForSubtreeByStyleCommand[src]

impl Serialize for GetNodesForSubtreeByStyleCommand[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.