#[repr(C)]pub struct Requisition {
pub width: i32,
pub height: i32,
}Expand description
A Requisition-struct represents the desired size of a widget. See
[GtkWidget’s geometry management section][geometry-management] for
more information.
Fields§
§width: i32§height: i32Auto Trait Implementations§
impl Freeze for Requisition
impl RefUnwindSafe for Requisition
impl Send for Requisition
impl Sync for Requisition
impl Unpin for Requisition
impl UnsafeUnpin for Requisition
impl UnwindSafe for Requisition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more