Struct cxx_qt_lib::QSizeF
source · [−]#[repr(C)]pub struct QSizeF { /* private fields */ }
Expand description
The QSizeF class defines the size of a two-dimensional object using floating point precision.
Implementations
sourceimpl QSizeF
impl QSizeF
sourcepub fn set_height(&mut self, h: f64)
pub fn set_height(&mut self, h: f64)
Sets the height to the given height.
Trait Implementations
sourceimpl ExternType for QSizeF
impl ExternType for QSizeF
type Id = (Q, S, i, z, e, F)
type Id = (Q, S, i, z, e, 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 QSizeF
Auto Trait Implementations
impl RefUnwindSafe for QSizeF
impl Send for QSizeF
impl Sync for QSizeF
impl Unpin for QSizeF
impl UnwindSafe for QSizeF
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