Struct cxx_qt_lib::QRectF
source · [−]#[repr(C)]pub struct QRectF { /* private fields */ }
Expand description
The QRectF struct defines a rectangle in the plane using floating point precision.
Implementations
sourceimpl QRectF
impl QRectF
sourcepub fn set_height(&mut self, h: f64)
pub fn set_height(&mut self, h: f64)
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 QRectF
impl Send for QRectF
impl Sync for QRectF
impl Unpin for QRectF
impl UnwindSafe for QRectF
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