Type Alias GtkAllocation

Source
pub type GtkAllocation = GdkRectangle;

Aliased Type§

struct GtkAllocation {
    pub x: i32,
    pub y: i32,
    pub width: i32,
    pub height: i32,
}

Fields§

§x: i32§y: i32§width: i32§height: i32

Trait Implementations

§

impl Clone for GdkRectangle

§

fn clone(&self) -> GdkRectangle

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for GdkRectangle

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Copy for GdkRectangle