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]

[src]

[src]

Trait Implementations

impl Clone for Rectangle
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Rectangle
[src]

impl Debug for Rectangle
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Rectangle
[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 Eq for Rectangle
[src]

impl Hash for Rectangle
[src]

[src]

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

1.3.0
[src]

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

impl AsRef<RectangleInt> for Rectangle
[src]

[src]

Performs the conversion.

impl From<RectangleInt> for Rectangle
[src]

[src]

Performs the conversion.

impl StaticType for Rectangle
[src]

[src]

Returns the type identifier of Self.

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

[src]

impl SetValue for Rectangle
[src]

[src]

impl SetValueOptional for Rectangle
[src]

[src]