Struct chromiumoxide_cdp::cdp::browser_protocol::overlay::HighlightRectParams [−][src]
pub struct HighlightRectParams { pub x: i64, pub y: i64, pub width: i64, pub height: i64, pub color: Option<Rgba>, pub outline_color: Option<Rgba>, }
Expand description
Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport. highlightRect
Fields
x: i64
X coordinate
y: i64
Y coordinate
width: i64
Rectangle width
height: i64
Rectangle height
color: Option<Rgba>
The highlight fill color (default: transparent).
outline_color: Option<Rgba>
The highlight outline color (default: transparent).
Implementations
Trait Implementations
type Response = HighlightRectReturns
type Response = HighlightRectReturns
The type of the response this request triggers on the chromium server
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
The whole string identifier for this method like: DOM.removeNode
The name of the domain this method belongs to: DOM
The standalone identifier of the method inside the domain: removeNode
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for HighlightRectParams
impl Send for HighlightRectParams
impl Sync for HighlightRectParams
impl Unpin for HighlightRectParams
impl UnwindSafe for HighlightRectParams
Blanket Implementations
Mutably borrows from an owned value. Read more