Struct gdk::Rectangle [] [src]

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

Fields

Methods

impl Rectangle
[src]

Trait Implementations

impl Clone for Rectangle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Rectangle
[src]

impl Debug for Rectangle
[src]

Formats the value using the given formatter.

impl PartialEq for Rectangle
[src]

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

This method tests for !=.

impl Eq for Rectangle
[src]

impl Hash for Rectangle
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl AsRef<RectangleInt> for Rectangle
[src]

Performs the conversion.

impl From<RectangleInt> for Rectangle
[src]

Performs the conversion.

impl StaticType for Rectangle
[src]

Returns the type identifier of Self.

impl<'a> FromValueOptional<'a> for Rectangle
[src]

impl SetValue for Rectangle
[src]

impl SetValueOptional for Rectangle
[src]