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
sourceimpl ExternType for QRectF
impl ExternType for QRectF
type Id = (Q, R, e, c, t, F)
type Id = (Q, R, e, c, t, F)
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 QRectF
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 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