Type Alias gtk4_sys::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

source§

impl Clone for GdkRectangle

source§

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
source§

impl Debug for GdkRectangle

source§

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

Formats the value using the given formatter. Read more
source§

impl Copy for GdkRectangle