Struct gtk::Rectangle []

#[repr(C)]
pub struct Rectangle { pub x: i32, pub y: i32, pub width: i32, pub height: i32, }

Fields

Methods

impl Rectangle

Trait Implementations

impl Eq for Rectangle

impl Hash for Rectangle

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for Rectangle

Formats the value using the given formatter.

impl PartialEq<Rectangle> for Rectangle

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

This method tests for !=.

impl AsRef<RectangleInt> for Rectangle

Performs the conversion.

impl From<RectangleInt> for Rectangle

impl Copy for Rectangle

impl Clone for Rectangle

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more