pub struct QTextLength { /* private fields */ }Expand description
C++ class: QTextLength.
Implementations§
Source§impl QTextLength
impl QTextLength
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QTextLength>>,
) -> Ref<QTextLength>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QTextLength>>, ) -> Ref<QTextLength>
Calls C++ function: QTextLength& QTextLength::operator=(const QTextLength& other).
Sourcepub unsafe fn new_0a() -> CppBox<QTextLength>
pub unsafe fn new_0a() -> CppBox<QTextLength>
Calls C++ function: [constructor] void QTextLength::QTextLength().
Sourcepub unsafe fn new_2a(type_: Type, value: c_double) -> CppBox<QTextLength>
pub unsafe fn new_2a(type_: Type, value: c_double) -> CppBox<QTextLength>
Calls C++ function: [constructor] void QTextLength::QTextLength(QTextLength::Type type, double value).
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<QTextLength>>,
) -> CppBox<QTextLength>
pub unsafe fn new_copy( other: impl CastInto<Ref<QTextLength>>, ) -> CppBox<QTextLength>
Calls C++ function: [constructor] void QTextLength::QTextLength(const QTextLength& other).
Sourcepub unsafe fn raw_value(&self) -> c_double
pub unsafe fn raw_value(&self) -> c_double
Calls C++ function: double QTextLength::rawValue() const.
Sourcepub unsafe fn to_q_variant(&self) -> CppBox<QVariant>
pub unsafe fn to_q_variant(&self) -> CppBox<QVariant>
Calls C++ function: QVariant QTextLength::operator QVariant() const.
Trait Implementations§
Source§impl CppDeletable for QTextLength
impl CppDeletable for QTextLength
Source§impl PartialEq<Ref<QTextLength>> for QTextLength
impl PartialEq<Ref<QTextLength>> for QTextLength
Auto Trait Implementations§
impl Freeze for QTextLength
impl RefUnwindSafe for QTextLength
impl Send for QTextLength
impl Sync for QTextLength
impl Unpin for QTextLength
impl UnsafeUnpin for QTextLength
impl UnwindSafe for QTextLength
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