Struct sciter::types::RECT [] [src]

#[repr(C)]
pub struct RECT { pub left: LONG, pub top: LONG, pub right: LONG, pub bottom: LONG, }

Defines the coordinates of the upper-left and lower-right corners of a rectangle.

Fields

Methods

impl RECT
[src]

[src]

Calculate height of rect.

[src]

Calculate width of rect.

[src]

Return the size of rect in width and height form.

[src]

Returns the top-left point of rect.

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 Copy for RECT
[src]

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 !=.

impl Default for RECT
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for RECT
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for RECT

impl Sync for RECT