Struct gdk_sys::GdkGeometry
source · [−]#[repr(C)]pub struct GdkGeometry {
pub min_width: c_int,
pub min_height: c_int,
pub max_width: c_int,
pub max_height: c_int,
pub base_width: c_int,
pub base_height: c_int,
pub width_inc: c_int,
pub height_inc: c_int,
pub min_aspect: c_double,
pub max_aspect: c_double,
pub win_gravity: GdkGravity,
}
Fields
min_width: c_int
min_height: c_int
max_width: c_int
max_height: c_int
base_width: c_int
base_height: c_int
width_inc: c_int
height_inc: c_int
min_aspect: c_double
max_aspect: c_double
win_gravity: GdkGravity
Trait Implementations
sourceimpl Clone for GdkGeometry
impl Clone for GdkGeometry
sourcefn clone(&self) -> GdkGeometry
fn clone(&self) -> GdkGeometry
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GdkGeometry
impl Debug for GdkGeometry
impl Copy for GdkGeometry
Auto Trait Implementations
impl RefUnwindSafe for GdkGeometry
impl Send for GdkGeometry
impl Sync for GdkGeometry
impl Unpin for GdkGeometry
impl UnwindSafe for GdkGeometry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more