[−][src]Struct qt_core::QLatin1Char
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
C++ class: QLatin1Char
.
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
This class is only useful to construct a QChar with 8-bit character.
Methods
impl QLatin1Char
[src]
pub unsafe fn copy_from(
&mut self,
other: impl CastInto<Ref<QLatin1Char>>
) -> MutRef<QLatin1Char>
[src]
&mut self,
other: impl CastInto<Ref<QLatin1Char>>
) -> MutRef<QLatin1Char>
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
Calls C++ function: QLatin1Char& QLatin1Char::operator=(const QLatin1Char& other)
.
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
This class is only useful to construct a QChar with 8-bit character.
pub unsafe fn new(c: c_char) -> CppBox<QLatin1Char>
[src]
Constructs a Latin-1 character for c. This constructor should be used when the encoding of the input character is known to be Latin-1.
Calls C++ function: [constructor] void QLatin1Char::QLatin1Char(char c)
.
Constructs a Latin-1 character for c. This constructor should be used when the encoding of the input character is known to be Latin-1.
pub unsafe fn new_copy(
other: impl CastInto<Ref<QLatin1Char>>
) -> CppBox<QLatin1Char>
[src]
other: impl CastInto<Ref<QLatin1Char>>
) -> CppBox<QLatin1Char>
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
Calls C++ function: [constructor] void QLatin1Char::QLatin1Char(const QLatin1Char& other)
.
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
This class is only useful to construct a QChar with 8-bit character.
pub unsafe fn to_latin1(&self) -> c_char
[src]
Converts a Latin-1 character to an 8-bit ASCII representation of the character.
Calls C++ function: char QLatin1Char::toLatin1() const
.
Converts a Latin-1 character to an 8-bit ASCII representation of the character.
pub unsafe fn unicode(&self) -> c_ushort
[src]
Converts a Latin-1 character to an 16-bit-encoded Unicode representation of the character.
Calls C++ function: unsigned short QLatin1Char::unicode() const
.
Converts a Latin-1 character to an 16-bit-encoded Unicode representation of the character.
Trait Implementations
impl CppDeletable for QLatin1Char
[src]
unsafe fn delete(&mut self)
[src]
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
Calls C++ function: [destructor] void QLatin1Char::~QLatin1Char()
.
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
This class is only useful to construct a QChar with 8-bit character.
impl Ge<i8> for QLatin1Char
[src]
unsafe fn ge(&self, rhs: &c_char) -> bool
[src]
Returns true
if the numeric Unicode value of c1 is greater than or equal to that of c2; otherwise returns false
.
Calls C++ function: bool operator>=(QLatin1Char lhs, char rhs)
.
Warning: no exact match found in C++ documentation. Below is the C++ documentation for bool operator>=(QChar c1, QChar c2)
:
Returns true
if the numeric Unicode value of c1 is greater than or equal to that of c2; otherwise returns false
.
impl Gt<i8> for QLatin1Char
[src]
unsafe fn gt(&self, rhs: &c_char) -> bool
[src]
Calls C++ function: bool operator>(QLatin1Char lhs, char rhs)
.
impl Le<i8> for QLatin1Char
[src]
unsafe fn le(&self, rhs: &c_char) -> bool
[src]
Returns true
if the numeric Unicode value of c1 is less than or equal to that of c2; otherwise returns false
.
Calls C++ function: bool operator<=(QLatin1Char lhs, char rhs)
.
Warning: no exact match found in C++ documentation. Below is the C++ documentation for bool operator<=(QChar c1, QChar c2)
:
Returns true
if the numeric Unicode value of c1 is less than or equal to that of c2; otherwise returns false
.
impl Lt<i8> for QLatin1Char
[src]
unsafe fn lt(&self, rhs: &c_char) -> bool
[src]
Calls C++ function: bool operator<(QLatin1Char lhs, char rhs)
.
impl PartialEq<i8> for QLatin1Char
[src]
fn eq(&self, rhs: &c_char) -> bool
[src]
Returns true
if c1 and c2 are the same Unicode character; otherwise returns false
.
Calls C++ function: bool operator==(QLatin1Char lhs, char rhs)
.
Warning: no exact match found in C++ documentation. Below is the C++ documentation for bool operator==(QChar c1, QChar c2)
:
Returns true
if c1 and c2 are the same Unicode character; otherwise returns false
.
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for QLatin1Char
impl Send for QLatin1Char
impl Sync for QLatin1Char
impl Unpin for QLatin1Char
impl UnwindSafe for QLatin1Char
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,