Trait cxx_qt_lib::QListElement

source ·
pub trait QListElement: Sized {
    type TypeId;

Show 14 methods // Required methods fn append(list: &mut QList<Self>, value: Self) where Self: ExternType<Kind = Trivial>; fn append_clone(list: &mut QList<Self>, value: &Self); fn clear(list: &mut QList<Self>); fn clone(list: &QList<Self>) -> QList<Self>; fn contains(list: &QList<Self>, value: &Self) -> bool; fn default() -> QList<Self>; fn drop(list: &mut QList<Self>); unsafe fn get_unchecked(list: &QList<Self>, pos: isize) -> &Self; fn index_of(list: &QList<Self>, value: &Self) -> isize; fn insert(list: &mut QList<Self>, pos: isize, value: Self) where Self: ExternType<Kind = Trivial>; fn insert_clone(list: &mut QList<Self>, pos: isize, value: &Self); fn len(list: &QList<Self>) -> isize; fn remove(list: &mut QList<Self>, pos: isize); fn reserve(vector: &mut QList<Self>, size: isize);
}
Expand description

Trait implementation for an element in a QList.

Required Associated Types§

Required Methods§

source

fn append(list: &mut QList<Self>, value: Self)
where Self: ExternType<Kind = Trivial>,

source

fn append_clone(list: &mut QList<Self>, value: &Self)

source

fn clear(list: &mut QList<Self>)

source

fn clone(list: &QList<Self>) -> QList<Self>

source

fn contains(list: &QList<Self>, value: &Self) -> bool

source

fn default() -> QList<Self>

source

fn drop(list: &mut QList<Self>)

source

unsafe fn get_unchecked(list: &QList<Self>, pos: isize) -> &Self

§Safety

Calling this method with an out-of-bounds index is undefined behavior even if the resulting reference is not used.

source

fn index_of(list: &QList<Self>, value: &Self) -> isize

source

fn insert(list: &mut QList<Self>, pos: isize, value: Self)
where Self: ExternType<Kind = Trivial>,

source

fn insert_clone(list: &mut QList<Self>, pos: isize, value: &Self)

source

fn len(list: &QList<Self>) -> isize

source

fn remove(list: &mut QList<Self>, pos: isize)

source

fn reserve(vector: &mut QList<Self>, size: isize)

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl QListElement for bool

§

type TypeId = (Q, L, i, s, t, __, b, o, o, l)

source§

fn append(list: &mut QList<Self>, value: Self)

source§

fn append_clone(list: &mut QList<Self>, value: &Self)

source§

fn clear(list: &mut QList<Self>)

source§

fn clone(list: &QList<Self>) -> QList<Self>

source§

fn contains(list: &QList<Self>, value: &Self) -> bool

source§

fn default() -> QList<Self>

source§

fn drop(list: &mut QList<Self>)

source§

unsafe fn get_unchecked(list: &QList<Self>, pos: isize) -> &Self

source§

fn index_of(list: &QList<Self>, value: &Self) -> isize

source§

fn insert(list: &mut QList<Self>, pos: isize, value: Self)

source§

fn insert_clone(list: &mut QList<Self>, pos: isize, value: &Self)

source§

fn len(list: &QList<Self>) -> isize

source§

fn remove(list: &mut QList<Self>, pos: isize)

source§

fn reserve(list: &mut QList<Self>, size: isize)

source§

impl QListElement for f32

§

type TypeId = (Q, L, i, s, t, __, f, _3, _2)

source§

fn append(list: &mut QList<Self>, value: Self)

source§

fn append_clone(list: &mut QList<Self>, value: &Self)

source§

fn clear(list: &mut QList<Self>)

source§

fn clone(list: &QList<Self>) -> QList<Self>

source§

fn contains(list: &QList<Self>, value: &Self) -> bool

source§

fn default() -> QList<Self>

source§

fn drop(list: &mut QList<Self>)

source§

unsafe fn get_unchecked(list: &QList<Self>, pos: isize) -> &Self

source§

fn index_of(list: &QList<Self>, value: &Self) -> isize

source§

fn insert(list: &mut QList<Self>, pos: isize, value: Self)

source§

fn insert_clone(list: &mut QList<Self>, pos: isize, value: &Self)

source§

fn len(list: &QList<Self>) -> isize

source§

fn remove(list: &mut QList<Self>, pos: isize)

source§

fn reserve(list: &mut QList<Self>, size: isize)

source§

impl QListElement for f64

§

type TypeId = (Q, L, i, s, t, __, f, _6, _4)

source§

fn append(list: &mut QList<Self>, value: Self)

source§

fn append_clone(list: &mut QList<Self>, value: &Self)

source§

fn clear(list: &mut QList<Self>)

source§

fn clone(list: &QList<Self>) -> QList<Self>

source§

fn contains(list: &QList<Self>, value: &Self) -> bool

source§

fn default() -> QList<Self>

source§

fn drop(list: &mut QList<Self>)

source§

unsafe fn get_unchecked(list: &QList<Self>, pos: isize) -> &Self

source§

fn index_of(list: &QList<Self>, value: &Self) -> isize

source§

fn insert(list: &mut QList<Self>, pos: isize, value: Self)

source§

fn insert_clone(list: &mut QList<Self>, pos: isize, value: &Self)

source§

fn len(list: &QList<Self>) -> isize

source§

fn remove(list: &mut QList<Self>, pos: isize)

source§

fn reserve(list: &mut QList<Self>, size: isize)

source§

impl QListElement for i8

§

type TypeId = (Q, L, i, s, t, __, i, _8)

source§

fn append(list: &mut QList<Self>, value: Self)

source§

fn append_clone(list: &mut QList<Self>, value: &Self)

source§

fn clear(list: &mut QList<Self>)

source§

fn clone(list: &QList<Self>) -> QList<Self>

source§

fn contains(list: &QList<Self>, value: &Self) -> bool

source§

fn default() -> QList<Self>

source§

fn drop(list: &mut QList<Self>)

source§

unsafe fn get_unchecked(list: &QList<Self>, pos: isize) -> &Self

source§

fn index_of(list: &QList<Self>, value: &Self) -> isize

source§

fn insert(list: &mut QList<Self>, pos: isize, value: Self)

source§

fn insert_clone(list: &mut QList<Self>, pos: isize, value: &Self)

source§

fn len(list: &QList<Self>) -> isize

source§

fn remove(list: &mut QList<Self>, pos: isize)

source§

fn reserve(list: &mut QList<Self>, size: isize)

source§

impl QListElement for i16

§

type TypeId = (Q, L, i, s, t, __, i, _1, _6)

source§

fn append(list: &mut QList<Self>, value: Self)

source§

fn append_clone(list: &mut QList<Self>, value: &Self)

source§

fn clear(list: &mut QList<Self>)

source§

fn clone(list: &QList<Self>) -> QList<Self>

source§

fn contains(list: &QList<Self>, value: &Self) -> bool

source§

fn default() -> QList<Self>

source§

fn drop(list: &mut QList<Self>)

source§

unsafe fn get_unchecked(list: &QList<Self>, pos: isize) -> &Self

source§

fn index_of(list: &QList<Self>, value: &Self) -> isize

source§

fn insert(list: &mut QList<Self>, pos: isize, value: Self)

source§

fn insert_clone(list: &mut QList<Self>, pos: isize, value: &Self)

source§

fn len(list: &QList<Self>) -> isize

source§

fn remove(list: &mut QList<Self>, pos: isize)

source§

fn reserve(list: &mut QList<Self>, size: isize)

source§

impl QListElement for i32

§

type TypeId = (Q, L, i, s, t, __, i, _3, _2)

source§

fn append(list: &mut QList<Self>, value: Self)

source§

fn append_clone(list: &mut QList<Self>, value: &Self)

source§

fn clear(list: &mut QList<Self>)

source§

fn clone(list: &QList<Self>) -> QList<Self>

source§

fn contains(list: &QList<Self>, value: &Self) -> bool

source§

fn default() -> QList<Self>

source§

fn drop(list: &mut QList<Self>)

source§

unsafe fn get_unchecked(list: &QList<Self>, pos: isize) -> &Self

source§

fn index_of(list: &QList<Self>, value: &Self) -> isize

source§

fn insert(list: &mut QList<Self>, pos: isize, value: Self)

source§

fn insert_clone(list: &mut QList<Self>, pos: isize, value: &Self)

source§

fn len(list: &QList<Self>) -> isize

source§

fn remove(list: &mut QList<Self>, pos: isize)

source§

fn reserve(list: &mut QList<Self>, size: isize)

source§

impl QListElement for i64

§

type TypeId = (Q, L, i, s, t, __, i, _6, _4)

source§

fn append(list: &mut QList<Self>, value: Self)

source§

fn append_clone(list: &mut QList<Self>, value: &Self)

source§

fn clear(list: &mut QList<Self>)

source§

fn clone(list: &QList<Self>) -> QList<Self>

source§

fn contains(list: &QList<Self>, value: &Self) -> bool

source§

fn default() -> QList<Self>

source§

fn drop(list: &mut QList<Self>)

source§

unsafe fn get_unchecked(list: &QList<Self>, pos: isize) -> &Self

source§

fn index_of(list: &QList<Self>, value: &Self) -> isize

source§

fn insert(list: &mut QList<Self>, pos: isize, value: Self)

source§

fn insert_clone(list: &mut QList<Self>, pos: isize, value: &Self)

source§

fn len(list: &QList<Self>) -> isize

source§

fn remove(list: &mut QList<Self>, pos: isize)

source§

fn reserve(list: &mut QList<Self>, size: isize)

source§

impl QListElement for u8

§

type TypeId = (Q, L, i, s, t, __, u, _8)

source§

fn append(list: &mut QList<Self>, value: Self)

source§

fn append_clone(list: &mut QList<Self>, value: &Self)

source§

fn clear(list: &mut QList<Self>)

source§

fn clone(list: &QList<Self>) -> QList<Self>

source§

fn contains(list: &QList<Self>, value: &Self) -> bool

source§

fn default() -> QList<Self>

source§

fn drop(list: &mut QList<Self>)

source§

unsafe fn get_unchecked(list: &QList<Self>, pos: isize) -> &Self

source§

fn index_of(list: &QList<Self>, value: &Self) -> isize

source§

fn insert(list: &mut QList<Self>, pos: isize, value: Self)

source§

fn insert_clone(list: &mut QList<Self>, pos: isize, value: &Self)

source§

fn len(list: &QList<Self>) -> isize

source§

fn remove(list: &mut QList<Self>, pos: isize)

source§

fn reserve(list: &mut QList<Self>, size: isize)

source§

impl QListElement for u16

§

type TypeId = (Q, L, i, s, t, __, u, _1, _6)

source§

fn append(list: &mut QList<Self>, value: Self)

source§

fn append_clone(list: &mut QList<Self>, value: &Self)

source§

fn clear(list: &mut QList<Self>)

source§

fn clone(list: &QList<Self>) -> QList<Self>

source§

fn contains(list: &QList<Self>, value: &Self) -> bool

source§

fn default() -> QList<Self>

source§

fn drop(list: &mut QList<Self>)

source§

unsafe fn get_unchecked(list: &QList<Self>, pos: isize) -> &Self

source§

fn index_of(list: &QList<Self>, value: &Self) -> isize

source§

fn insert(list: &mut QList<Self>, pos: isize, value: Self)

source§

fn insert_clone(list: &mut QList<Self>, pos: isize, value: &Self)

source§

fn len(list: &QList<Self>) -> isize

source§

fn remove(list: &mut QList<Self>, pos: isize)

source§

fn reserve(list: &mut QList<Self>, size: isize)

source§

impl QListElement for u32

§

type TypeId = (Q, L, i, s, t, __, u, _3, _2)

source§

fn append(list: &mut QList<Self>, value: Self)

source§

fn append_clone(list: &mut QList<Self>, value: &Self)

source§

fn clear(list: &mut QList<Self>)

source§

fn clone(list: &QList<Self>) -> QList<Self>

source§

fn contains(list: &QList<Self>, value: &Self) -> bool

source§

fn default() -> QList<Self>

source§

fn drop(list: &mut QList<Self>)

source§

unsafe fn get_unchecked(list: &QList<Self>, pos: isize) -> &Self

source§

fn index_of(list: &QList<Self>, value: &Self) -> isize

source§

fn insert(list: &mut QList<Self>, pos: isize, value: Self)

source§

fn insert_clone(list: &mut QList<Self>, pos: isize, value: &Self)

source§

fn len(list: &QList<Self>) -> isize

source§

fn remove(list: &mut QList<Self>, pos: isize)

source§

fn reserve(list: &mut QList<Self>, size: isize)

source§

impl QListElement for u64

§

type TypeId = (Q, L, i, s, t, __, u, _6, _4)

source§

fn append(list: &mut QList<Self>, value: Self)

source§

fn append_clone(list: &mut QList<Self>, value: &Self)

source§

fn clear(list: &mut QList<Self>)

source§

fn clone(list: &QList<Self>) -> QList<Self>

source§

fn contains(list: &QList<Self>, value: &Self) -> bool

source§

fn default() -> QList<Self>

source§

fn drop(list: &mut QList<Self>)

source§

unsafe fn get_unchecked(list: &QList<Self>, pos: isize) -> &Self

source§

fn index_of(list: &QList<Self>, value: &Self) -> isize

source§

fn insert(list: &mut QList<Self>, pos: isize, value: Self)

source§

fn insert_clone(list: &mut QList<Self>, pos: isize, value: &Self)

source§

fn len(list: &QList<Self>) -> isize

source§

fn remove(list: &mut QList<Self>, pos: isize)

source§

fn reserve(list: &mut QList<Self>, size: isize)

Implementors§

source§

impl QListElement for QByteArray

§

type TypeId = (Q, L, i, s, t, __, Q, B, y, t, e, A, r, r, a, y)

source§

impl QListElement for QColor

§

type TypeId = (Q, L, i, s, t, __, Q, C, o, l, o, r)

source§

impl QListElement for QDate

§

type TypeId = (Q, L, i, s, t, __, Q, D, a, t, e)

source§

impl QListElement for QDateTime

§

type TypeId = (Q, L, i, s, t, __, Q, D, a, t, e, T, i, m, e)

source§

impl QListElement for QMargins

§

type TypeId = (Q, L, i, s, t, __, Q, M, a, r, g, i, n, s)

source§

impl QListElement for QMarginsF

§

type TypeId = (Q, L, i, s, t, __, Q, M, a, r, g, i, n, s, F)

source§

impl QListElement for QPersistentModelIndex

§

type TypeId = (Q, L, i, s, t, __, Q, P, e, r, s, i, s, t, e, n, t, M, o, d, e, l, I, n, d, e, x)

source§

impl QListElement for QPoint

§

type TypeId = (Q, L, i, s, t, __, Q, P, o, i, n, t)

source§

impl QListElement for QPointF

§

type TypeId = (Q, L, i, s, t, __, Q, P, o, i, n, t, F)

source§

impl QListElement for QRect

§

type TypeId = (Q, L, i, s, t, __, Q, R, e, c, t)

source§

impl QListElement for QRectF

§

type TypeId = (Q, L, i, s, t, __, Q, R, e, c, t, F)

source§

impl QListElement for QSize

§

type TypeId = (Q, L, i, s, t, __, Q, S, i, z, e)

source§

impl QListElement for QSizeF

§

type TypeId = (Q, L, i, s, t, __, Q, S, i, z, e, F)

source§

impl QListElement for QString

§

type TypeId = (Q, L, i, s, t, __, Q, S, t, r, i, n, g)

source§

impl QListElement for QTime

§

type TypeId = (Q, L, i, s, t, __, Q, T, i, m, e)

source§

impl QListElement for QUrl

§

type TypeId = (Q, L, i, s, t, __, Q, U, r, l)

source§

impl QListElement for QVariant

§

type TypeId = (Q, L, i, s, t, __, Q, V, a, r, i, a, n, t)