Struct qt_core::QCharRef

source ·
#[repr(C)]
pub struct QCharRef { /* private fields */ }
Expand description

C++ class: QCharRef.

Implementations§

source§

impl QCharRef

source

pub unsafe fn category(&self) -> Category

Calls C++ function: QChar::Category QCharRef::category() const.

source

pub unsafe fn cell(&self) -> c_uchar

Calls C++ function: unsigned char QCharRef::cell() const.

source

pub unsafe fn combining_class(&self) -> c_uchar

Calls C++ function: unsigned char QCharRef::combiningClass() const.

source

pub unsafe fn copy_from_q_char( &self, c: impl CastInto<Ref<QChar>> ) -> Ref<QCharRef>

Calls C++ function: QCharRef& QCharRef::operator=(QChar c).

source

pub unsafe fn copy_from_char(&self, c: c_char) -> Ref<QCharRef>

Calls C++ function: QCharRef& QCharRef::operator=(char c).

source

pub unsafe fn copy_from_uchar(&self, c: c_uchar) -> Ref<QCharRef>

Calls C++ function: QCharRef& QCharRef::operator=(unsigned char c).

source

pub unsafe fn copy_from_q_char_ref( &self, c: impl CastInto<Ref<QCharRef>> ) -> Ref<QCharRef>

Calls C++ function: QCharRef& QCharRef::operator=(const QCharRef& c).

source

pub unsafe fn copy_from_ushort(&self, rc: c_ushort) -> Ref<QCharRef>

Calls C++ function: QCharRef& QCharRef::operator=(unsigned short rc).

source

pub unsafe fn copy_from_short(&self, rc: c_short) -> Ref<QCharRef>

Calls C++ function: QCharRef& QCharRef::operator=(short rc).

source

pub unsafe fn copy_from_uint(&self, rc: c_uint) -> Ref<QCharRef>

Calls C++ function: QCharRef& QCharRef::operator=(unsigned int rc).

source

pub unsafe fn copy_from_int(&self, rc: c_int) -> Ref<QCharRef>

Calls C++ function: QCharRef& QCharRef::operator=(int rc).

source

pub unsafe fn decomposition(&self) -> CppBox<QString>

Calls C++ function: QString QCharRef::decomposition() const.

source

pub unsafe fn decomposition_tag(&self) -> Decomposition

Calls C++ function: QChar::Decomposition QCharRef::decompositionTag() const.

source

pub unsafe fn digit_value(&self) -> c_int

Calls C++ function: int QCharRef::digitValue() const.

source

pub unsafe fn direction(&self) -> Direction

Calls C++ function: QChar::Direction QCharRef::direction() const.

source

pub unsafe fn has_mirrored(&self) -> bool

Calls C++ function: bool QCharRef::hasMirrored() const.

source

pub unsafe fn is_digit(&self) -> bool

Calls C++ function: bool QCharRef::isDigit() const.

source

pub unsafe fn is_letter(&self) -> bool

Calls C++ function: bool QCharRef::isLetter() const.

source

pub unsafe fn is_letter_or_number(&self) -> bool

Calls C++ function: bool QCharRef::isLetterOrNumber().

source

pub unsafe fn is_lower(&self) -> bool

Calls C++ function: bool QCharRef::isLower() const.

source

pub unsafe fn is_mark(&self) -> bool

Calls C++ function: bool QCharRef::isMark() const.

source

pub unsafe fn is_null(&self) -> bool

Calls C++ function: bool QCharRef::isNull() const.

source

pub unsafe fn is_number(&self) -> bool

Calls C++ function: bool QCharRef::isNumber() const.

source

pub unsafe fn is_print(&self) -> bool

Calls C++ function: bool QCharRef::isPrint() const.

source

pub unsafe fn is_punct(&self) -> bool

Calls C++ function: bool QCharRef::isPunct() const.

source

pub unsafe fn is_space(&self) -> bool

Calls C++ function: bool QCharRef::isSpace() const.

source

pub unsafe fn is_title_case(&self) -> bool

Calls C++ function: bool QCharRef::isTitleCase() const.

source

pub unsafe fn is_upper(&self) -> bool

Calls C++ function: bool QCharRef::isUpper() const.

source

pub unsafe fn joining(&self) -> Joining

Calls C++ function: QChar::Joining QCharRef::joining() const.

source

pub unsafe fn joining_type(&self) -> JoiningType

Calls C++ function: QChar::JoiningType QCharRef::joiningType() const.

source

pub unsafe fn mirrored_char(&self) -> CppBox<QChar>

Calls C++ function: QChar QCharRef::mirroredChar() const.

source

pub unsafe fn new_copy(other: impl CastInto<Ref<QCharRef>>) -> CppBox<QCharRef>

Calls C++ function: [constructor] void QCharRef::QCharRef(const QCharRef& other).

source

pub unsafe fn row(&self) -> c_uchar

Calls C++ function: unsigned char QCharRef::row() const.

source

pub unsafe fn script(&self) -> Script

Calls C++ function: QChar::Script QCharRef::script() const.

source

pub unsafe fn set_cell(&self, cell: c_uchar)

Calls C++ function: void QCharRef::setCell(unsigned char cell).

source

pub unsafe fn set_row(&self, row: c_uchar)

Calls C++ function: void QCharRef::setRow(unsigned char row).

source

pub unsafe fn to_latin1(&self) -> c_char

Calls C++ function: char QCharRef::toLatin1() const.

source

pub unsafe fn to_lower(&self) -> CppBox<QChar>

Calls C++ function: QChar QCharRef::toLower() const.

source

pub unsafe fn to_q_char(&self) -> CppBox<QChar>

Calls C++ function: QChar QCharRef::operator QChar() const.

source

pub unsafe fn to_title_case(&self) -> CppBox<QChar>

Calls C++ function: QChar QCharRef::toTitleCase() const.

source

pub unsafe fn to_upper(&self) -> CppBox<QChar>

Calls C++ function: QChar QCharRef::toUpper() const.

source

pub unsafe fn unicode(&self) -> c_ushort

Calls C++ function: unsigned short QCharRef::unicode() const.

source

pub unsafe fn unicode_mut(&self) -> *mut c_ushort

Calls C++ function: unsigned short& QCharRef::unicode().

source

pub unsafe fn unicode_version(&self) -> UnicodeVersion

Calls C++ function: QChar::UnicodeVersion QCharRef::unicodeVersion() const.

Trait Implementations§

source§

impl CppDeletable for QCharRef

source§

unsafe fn delete(&self)

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

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>,

§

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>,

§

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.