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
sourceimpl ExternType for QRect
impl ExternType for QRect
type Id = (Q, R, e, c, t)
type Id = (Q, R, e, c, t)
A type-level representation of the type’s C++ namespace and type name. Read more
type Kind = Trivial
type Kind = Trivial
Either cxx::kind::Opaque
or cxx::kind::Trivial
. Read more
impl Copy for QRect
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 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