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
impl Clone for GdkRectangle
source§fn clone(&self) -> GdkRectangle
fn clone(&self) -> GdkRectangle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more