pub struct QTextObjectInterface { /* private fields */ }Expand description
C++ class: QTextObjectInterface.
Implementations§
Source§impl QTextObjectInterface
impl QTextObjectInterface
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QTextObjectInterface>>,
) -> Ref<QTextObjectInterface>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QTextObjectInterface>>, ) -> Ref<QTextObjectInterface>
Calls C++ function: QTextObjectInterface& QTextObjectInterface::operator=(const QTextObjectInterface& other).
Sourcepub unsafe fn draw_object(
&self,
painter: impl CastInto<Ptr<QPainter>>,
rect: impl CastInto<Ref<QRectF>>,
doc: impl CastInto<Ptr<QTextDocument>>,
pos_in_document: c_int,
format: impl CastInto<Ref<QTextFormat>>,
)
pub unsafe fn draw_object( &self, painter: impl CastInto<Ptr<QPainter>>, rect: impl CastInto<Ref<QRectF>>, doc: impl CastInto<Ptr<QTextDocument>>, pos_in_document: c_int, format: impl CastInto<Ref<QTextFormat>>, )
Calls C++ function: pure virtual void QTextObjectInterface::drawObject(QPainter* painter, const QRectF& rect, QTextDocument* doc, int posInDocument, const QTextFormat& format).
Sourcepub unsafe fn intrinsic_size(
&self,
doc: impl CastInto<Ptr<QTextDocument>>,
pos_in_document: c_int,
format: impl CastInto<Ref<QTextFormat>>,
) -> CppBox<QSizeF>
pub unsafe fn intrinsic_size( &self, doc: impl CastInto<Ptr<QTextDocument>>, pos_in_document: c_int, format: impl CastInto<Ref<QTextFormat>>, ) -> CppBox<QSizeF>
Calls C++ function: pure virtual QSizeF QTextObjectInterface::intrinsicSize(QTextDocument* doc, int posInDocument, const QTextFormat& format).
Trait Implementations§
Source§impl CppDeletable for QTextObjectInterface
impl CppDeletable for QTextObjectInterface
Auto Trait Implementations§
impl Freeze for QTextObjectInterface
impl RefUnwindSafe for QTextObjectInterface
impl Send for QTextObjectInterface
impl Sync for QTextObjectInterface
impl Unpin for QTextObjectInterface
impl UnsafeUnpin for QTextObjectInterface
impl UnwindSafe for QTextObjectInterface
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more