Struct cdp::dom::Rect [] [src]

pub struct Rect {
    pub x: f64,
    pub y: f64,
    pub width: f64,
    pub height: f64,
}

[Experimental] Rectangle.

Fields

X coordinate

Y coordinate

Rectangle width

Rectangle height

Trait Implementations

impl Clone for Rect
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Rect
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Rect
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.