pub struct HighlightFrameParams {
pub frame_id: FrameId,
pub content_color: Option<Rgba>,
pub content_outline_color: Option<Rgba>,
}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.
Deprecated in the protocol.
Parameters of Overlay.highlightFrame.
Fields§
§frame_id: FrameIdIdentifier of the frame to highlight.
content_color: Option<Rgba>The content box highlight fill color (default: transparent).
content_outline_color: Option<Rgba>The content box highlight outline color (default: transparent).
Trait Implementations§
Source§impl Clone for HighlightFrameParams
impl Clone for HighlightFrameParams
Source§impl Command for HighlightFrameParams
impl Command for HighlightFrameParams
Source§impl Debug for HighlightFrameParams
impl Debug for HighlightFrameParams
Source§impl Default for HighlightFrameParams
impl Default for HighlightFrameParams
Source§impl<'de> Deserialize<'de> for HighlightFrameParams
impl<'de> Deserialize<'de> for HighlightFrameParams
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 PartialEq for HighlightFrameParams
impl PartialEq for HighlightFrameParams
Source§impl Serialize for HighlightFrameParams
impl Serialize for HighlightFrameParams
impl StructuralPartialEq for HighlightFrameParams
Auto Trait Implementations§
impl Forget for HighlightFrameParams
impl Freeze for HighlightFrameParams
impl RefUnwindSafe for HighlightFrameParams
impl Send for HighlightFrameParams
impl Sync for HighlightFrameParams
impl Unpin for HighlightFrameParams
impl UnsafeUnpin for HighlightFrameParams
impl UnwindSafe for HighlightFrameParams
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