pub struct GetMatchedStylesForNode {
pub method: GetMatchedStylesForNodeMethod,
pub params: GetMatchedStylesForNodeParams,
}Expand description
Returns requested styles for a DOM node identified by nodeId.
getMatchedStylesForNode
Fields§
§method: GetMatchedStylesForNodeMethod§params: GetMatchedStylesForNodeParamsImplementations§
Source§impl GetMatchedStylesForNode
impl GetMatchedStylesForNode
pub const IDENTIFIER: &'static str = "CSS.getMatchedStylesForNode"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetMatchedStylesForNode
impl Clone for GetMatchedStylesForNode
Source§fn clone(&self) -> GetMatchedStylesForNode
fn clone(&self) -> GetMatchedStylesForNode
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 CommandResult for GetMatchedStylesForNode
impl CommandResult for GetMatchedStylesForNode
type Result = GetMatchedStylesForNodeResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetMatchedStylesForNode
impl Debug for GetMatchedStylesForNode
Source§impl<'de> Deserialize<'de> for GetMatchedStylesForNode
impl<'de> Deserialize<'de> for GetMatchedStylesForNode
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 From<GetMatchedStylesForNode> for BrowserProtocolCommands
impl From<GetMatchedStylesForNode> for BrowserProtocolCommands
Source§fn from(v: GetMatchedStylesForNode) -> Self
fn from(v: GetMatchedStylesForNode) -> Self
Converts to this type from the input type.
Source§impl From<GetMatchedStylesForNode> for Command
impl From<GetMatchedStylesForNode> for Command
Source§fn from(v: GetMatchedStylesForNode) -> Self
fn from(v: GetMatchedStylesForNode) -> Self
Converts to this type from the input type.
Source§impl From<GetMatchedStylesForNode> for CssCommands
impl From<GetMatchedStylesForNode> for CssCommands
Source§fn from(v: GetMatchedStylesForNode) -> Self
fn from(v: GetMatchedStylesForNode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetMatchedStylesForNode
impl PartialEq for GetMatchedStylesForNode
Source§impl Serialize for GetMatchedStylesForNode
impl Serialize for GetMatchedStylesForNode
Source§impl TryFrom<BrowserProtocolCommands> for GetMatchedStylesForNode
impl TryFrom<BrowserProtocolCommands> for GetMatchedStylesForNode
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <GetMatchedStylesForNode as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetMatchedStylesForNode as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetMatchedStylesForNode
impl TryFrom<Command> for GetMatchedStylesForNode
Source§impl TryFrom<CssCommands> for GetMatchedStylesForNode
impl TryFrom<CssCommands> for GetMatchedStylesForNode
Source§type Error = CssCommands
type Error = CssCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: CssCommands,
) -> Result<Self, <GetMatchedStylesForNode as TryFrom<CssCommands>>::Error>
fn try_from( e: CssCommands, ) -> Result<Self, <GetMatchedStylesForNode as TryFrom<CssCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetMatchedStylesForNode
Auto Trait Implementations§
impl Freeze for GetMatchedStylesForNode
impl RefUnwindSafe for GetMatchedStylesForNode
impl Send for GetMatchedStylesForNode
impl Sync for GetMatchedStylesForNode
impl Unpin for GetMatchedStylesForNode
impl UnsafeUnpin for GetMatchedStylesForNode
impl UnwindSafe for GetMatchedStylesForNode
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