Skip to main content

QBackingStore

Struct QBackingStore 

Source
pub struct QBackingStore { /* private fields */ }
Expand description

C++ class: QBackingStore.

Implementations§

Source§

impl QBackingStore

Source

pub unsafe fn begin_paint(&self, arg1: impl CastInto<Ref<QRegion>>)

Calls C++ function: void QBackingStore::beginPaint(const QRegion& arg1).

Source

pub unsafe fn end_paint(&self)

Calls C++ function: void QBackingStore::endPaint().

Source

pub unsafe fn flush_3a( &self, region: impl CastInto<Ref<QRegion>>, window: impl CastInto<Ptr<QWindow>>, offset: impl CastInto<Ref<QPoint>>, )

Calls C++ function: void QBackingStore::flush(const QRegion& region, QWindow* window = …, const QPoint& offset = …).

Source

pub unsafe fn flush_2a( &self, region: impl CastInto<Ref<QRegion>>, window: impl CastInto<Ptr<QWindow>>, )

Calls C++ function: void QBackingStore::flush(const QRegion& region, QWindow* window = …).

Source

pub unsafe fn flush_1a(&self, region: impl CastInto<Ref<QRegion>>)

Calls C++ function: void QBackingStore::flush(const QRegion& region).

Source

pub unsafe fn has_static_contents(&self) -> bool

Calls C++ function: bool QBackingStore::hasStaticContents() const.

Source

pub unsafe fn new(window: impl CastInto<Ptr<QWindow>>) -> CppBox<QBackingStore>

Calls C++ function: [constructor] void QBackingStore::QBackingStore(QWindow* window).

Source

pub unsafe fn paint_device(&self) -> Ptr<QPaintDevice>

Calls C++ function: QPaintDevice* QBackingStore::paintDevice().

Source

pub unsafe fn resize(&self, size: impl CastInto<Ref<QSize>>)

Calls C++ function: void QBackingStore::resize(const QSize& size).

Source

pub unsafe fn scroll( &self, area: impl CastInto<Ref<QRegion>>, dx: c_int, dy: c_int, ) -> bool

Calls C++ function: bool QBackingStore::scroll(const QRegion& area, int dx, int dy).

Source

pub unsafe fn set_static_contents(&self, region: impl CastInto<Ref<QRegion>>)

Calls C++ function: void QBackingStore::setStaticContents(const QRegion& region).

Source

pub unsafe fn size(&self) -> CppBox<QSize>

Calls C++ function: QSize QBackingStore::size() const.

Source

pub unsafe fn static_contents(&self) -> CppBox<QRegion>

Calls C++ function: QRegion QBackingStore::staticContents() const.

Source

pub unsafe fn window(&self) -> QPtr<QWindow>

Calls C++ function: QWindow* QBackingStore::window() const.

Trait Implementations§

Source§

impl CppDeletable for QBackingStore

Source§

unsafe fn delete(&self)

Calls C++ function: [destructor] void QBackingStore::~QBackingStore().

Source§

impl Size for QBackingStore

Source§

unsafe fn size(&self) -> usize

Calls C++ function: QSize QBackingStore::size() const.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, U> CastInto<U> for T
where U: CastFrom<T>,

Source§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> StaticUpcast<T> for T

Source§

unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>

Convert type of a const pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.