[−]Struct qmetaobject::qttypes::QString
Wrapper around Qt's QString class
Methods
impl QString
[src]
Trait Implementations
impl QMetaType for QString
[src]
fn register(_name: Option<&CStr>) -> i32
[src]
fn id() -> i32
[src]
fn to_qvariant(&self) -> QVariant
[src]
Returns a QVariant containing a copy of this object
fn from_qvariant(variant: QVariant) -> Option<Self>
[src]
Attempt to convert from a QVariant to this type.
const CONVERSION_TO_STRING: Option<fn(_: &Self) -> QString>
[src]
If this is set to a function, it enable the conversion to and from QString
const CONVERSION_FROM_STRING: Option<fn(_: &QString) -> Self>
[src]
impl Eq for QString
impl Into<String> for QString
[src]
impl Ord for QString
fn cmp(&self, other: &QString) -> Ordering
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self
[src]
clamp
)Restrict a value to a certain interval. Read more
impl PartialEq<QString> for QString
fn eq(&self, other: &QString) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Drop for QString
fn drop(&mut self)
impl Clone for QString
fn clone(&self) -> Self
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialOrd<QString> for QString
fn lt(&self, other: &QString) -> bool
fn gt(&self, other: &QString) -> bool
fn le(&self, other: &QString) -> bool
fn ge(&self, other: &QString) -> bool
fn partial_cmp(&self, other: &QString) -> Option<Ordering>
impl From<QString> for QByteArray
[src]
fn from(s: QString) -> QByteArray
[src]
Converts a QString to a QByteArray
impl<'a> From<&'a str> for QString
[src]
impl From<String> for QString
[src]
impl From<QString> for QVariant
[src]
impl From<QString> for QJSValue
[src]
impl Default for QString
fn default() -> Self
impl Debug for QString
[src]
impl Display for QString
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> QMetaType for T where
T: QGadget + Clone + Default + 'static,
[src]
T: QGadget + Clone + Default + 'static,
fn register(Option<&CStr>) -> i32
[src]
fn id() -> i32
[src]
fn to_qvariant(&self) -> QVariant
[src]
Returns a QVariant containing a copy of this object
fn from_qvariant(variant: QVariant) -> Option<Self>
[src]
Attempt to convert from a QVariant to this type.
const CONVERSION_TO_STRING: Option<fn(_: &Self) -> QString>
[src]
If this is set to a function, it enable the conversion to and from QString
const CONVERSION_FROM_STRING: Option<fn(_: &QString) -> Self>
[src]
impl<T> PropertyType for T where
T: QMetaType + QMetaType,
[src]
T: QMetaType + QMetaType,
unsafe fn pass_to_qt(&mut Self, *mut c_void)
[src]
unsafe fn read_from_qt(*const c_void) -> T
[src]
fn register_type(&CStr) -> i32
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From<T> for 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,