pub struct HighlightFrameParams<'a> { /* private fields */ }Expand description
Highlights owner element of the frame with given id. Deprecated: Doesn’t work reliably and cannot be fixed due to process separation (the owner node might be in a different process). Determine the owner node in the client and use highlightNode.
Implementations§
Source§impl<'a> HighlightFrameParams<'a>
impl<'a> HighlightFrameParams<'a>
pub fn builder(frameId: FrameId<'a>) -> HighlightFrameParamsBuilder<'a>
pub fn frameId(&self) -> &FrameId<'a>
pub fn contentColor(&self) -> Option<&RGBA>
pub fn contentOutlineColor(&self) -> Option<&RGBA>
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for HighlightFrameParams<'a>
impl<'a> CdpCommand<'a> for HighlightFrameParams<'a>
Source§impl<'a> Clone for HighlightFrameParams<'a>
impl<'a> Clone for HighlightFrameParams<'a>
Source§fn clone(&self) -> HighlightFrameParams<'a>
fn clone(&self) -> HighlightFrameParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for HighlightFrameParams<'a>
impl<'a> Debug for HighlightFrameParams<'a>
Source§impl<'a> Default for HighlightFrameParams<'a>
impl<'a> Default for HighlightFrameParams<'a>
Source§fn default() -> HighlightFrameParams<'a>
fn default() -> HighlightFrameParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for HighlightFrameParams<'a>
impl<'de, 'a> Deserialize<'de> for HighlightFrameParams<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for HighlightFrameParams<'a>
impl<'a> RefUnwindSafe for HighlightFrameParams<'a>
impl<'a> Send for HighlightFrameParams<'a>
impl<'a> Sync for HighlightFrameParams<'a>
impl<'a> Unpin for HighlightFrameParams<'a>
impl<'a> UnsafeUnpin for HighlightFrameParams<'a>
impl<'a> UnwindSafe for HighlightFrameParams<'a>
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