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