Struct cxx_qt_lib::QRect
source · [−]#[repr(C)]pub struct QRect { /* private fields */ }
Expand description
The QRect struct defines a rectangle in the plane using integer precision.
Implementations
sourceimpl QRect
impl QRect
sourcepub fn set_height(&mut self, h: i32)
pub fn set_height(&mut self, h: i32)
Sets the height of the rectangle to the given height. The bottom edge is changed, but not the top one.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for QRect
impl Send for QRect
impl Sync for QRect
impl Unpin for QRect
impl UnwindSafe for QRect
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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