Struct qmetaobject::QStringList
source · #[repr(C)]pub struct QStringList { /* private fields */ }
Expand description
Wrapper around QStringList
class.
Implementations§
Trait Implementations§
source§impl Clone for QStringList
impl Clone for QStringList
source§fn clone(&self) -> QStringList
fn clone(&self) -> QStringList
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for QStringList
impl Debug for QStringList
source§impl Default for QStringList
impl Default for QStringList
source§fn default() -> QStringList
fn default() -> QStringList
Returns the “default value” for a type. Read more
source§impl Drop for QStringList
impl Drop for QStringList
source§impl<T> From<&[T]> for QStringList
impl<T> From<&[T]> for QStringList
source§fn from(s: &[T]) -> QStringList
fn from(s: &[T]) -> QStringList
Converts to this type from the input type.
source§impl<T, const N: usize> From<[T; N]> for QStringList
impl<T, const N: usize> From<[T; N]> for QStringList
source§fn from(s: [T; N]) -> QStringList
fn from(s: [T; N]) -> QStringList
Converts to this type from the input type.
source§impl From<QStringList> for QVariant
impl From<QStringList> for QVariant
source§fn from(a: QStringList) -> QVariant
fn from(a: QStringList) -> QVariant
Wrapper around QVariant(const QStringList &)
constructor.
source§impl<T> From<Vec<T>> for QStringList
impl<T> From<Vec<T>> for QStringList
source§fn from(s: Vec<T>) -> QStringList
fn from(s: Vec<T>) -> QStringList
Converts to this type from the input type.
source§impl<T> FromIterator<T> for QStringList
impl<T> FromIterator<T> for QStringList
source§fn from_iter<I>(iter: I) -> QStringListwhere
I: IntoIterator<Item = T>,
fn from_iter<I>(iter: I) -> QStringListwhere
I: IntoIterator<Item = T>,
Creates a value from an iterator. Read more
source§impl Index<usize> for QStringList
impl Index<usize> for QStringList
source§impl<'a> IntoIterator for &'a QStringList
impl<'a> IntoIterator for &'a QStringList
§type IntoIter = QListIterator<'a, QStringList, QString>
type IntoIter = QListIterator<'a, QStringList, QString>
Which kind of iterator are we turning this into?
source§fn into_iter(self) -> <&'a QStringList as IntoIterator>::IntoIter
fn into_iter(self) -> <&'a QStringList as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
source§impl PartialEq for QStringList
impl PartialEq for QStringList
source§fn eq(&self, other: &QStringList) -> bool
fn eq(&self, other: &QStringList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl QMetaType for QStringList
impl QMetaType for QStringList
fn id() -> i32
source§fn to_qvariant(&self) -> QVariant
fn to_qvariant(&self) -> QVariant
Returns a QVariant containing a copy of this object
source§fn from_qvariant(variant: QVariant) -> Option<Self>
fn from_qvariant(variant: QVariant) -> Option<Self>
Attempt to convert from a QVariant to this type.
source§const CONVERSION_TO_STRING: Option<fn(_: &Self) -> QString> = None
const CONVERSION_TO_STRING: Option<fn(_: &Self) -> QString> = None
If this is set to a function, it enable the conversion to and from QString
const CONVERSION_FROM_STRING: Option<fn(_: &QString) -> Self> = None
impl Eq for QStringList
impl StructuralEq for QStringList
Auto Trait Implementations§
impl RefUnwindSafe for QStringList
impl Send for QStringList
impl Sync for QStringList
impl Unpin for QStringList
impl UnwindSafe for QStringList
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