Struct cxx_qt_lib::QRectF
source · [−]#[repr(C)]pub struct QRectF { /* private fields */ }
Implementations
sourceimpl QRectF
impl QRectF
pub fn new(xp: f64, yp: f64, w: f64, h: f64) -> Self
pub fn height(&self) -> f64
pub fn set_height(&mut self, h: f64)
pub fn set_width(&mut self, w: f64)
pub fn set_x(&mut self, x: f64)
pub fn set_y(&mut self, y: f64)
pub fn width(&self) -> f64
pub fn x(&self) -> f64
pub fn y(&self) -> f64
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more