Struct chromiumoxide::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>,
}

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

impl HighlightRectParams[src]

pub fn new(
    x: impl Into<i64>,
    y: impl Into<i64>,
    width: impl Into<i64>,
    height: impl Into<i64>
) -> HighlightRectParams
[src]

impl HighlightRectParams[src]

impl HighlightRectParams[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for HighlightRectParams[src]

impl Command for HighlightRectParams[src]

type Response = HighlightRectReturns

The type of the response this request triggers on the chromium server

impl Debug for HighlightRectParams[src]

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

impl Method for HighlightRectParams[src]

impl MethodType for HighlightRectParams[src]

impl PartialEq<HighlightRectParams> for HighlightRectParams[src]

impl Serialize for HighlightRectParams[src]

impl StructuralPartialEq for HighlightRectParams[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> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,