[][src]Struct qt_core::q_abstract_item_model::LayoutChangeHint

#[repr(transparent)]
pub struct LayoutChangeHint(_);

This enum describes the way the model changes layout.

C++ enum: QAbstractItemModel::LayoutChangeHint.

C++ documentation:

This enum describes the way the model changes layout.

Note that VerticalSortHint and HorizontalSortHint carry the meaning that items are being moved within the same parent, not moved to a different parent in the model, and not filtered out or in.

Methods

impl LayoutChangeHint[src]

pub fn to_int(&self) -> c_int[src]

impl LayoutChangeHint[src]

pub const NoLayoutChangeHint: LayoutChangeHint[src]

No hint is available. (C++ enum variant: NoLayoutChangeHint = 0)

pub const VerticalSortHint: LayoutChangeHint[src]

Rows are being sorted. (C++ enum variant: VerticalSortHint = 1)

pub const HorizontalSortHint: LayoutChangeHint[src]

Columns are being sorted. (C++ enum variant: HorizontalSortHint = 2)

Trait Implementations

impl Clone for LayoutChangeHint[src]

impl Copy for LayoutChangeHint[src]

impl Debug for LayoutChangeHint[src]

impl Eq for LayoutChangeHint[src]

impl From<LayoutChangeHint> for c_int[src]

impl From<i32> for LayoutChangeHint[src]

impl PartialEq<LayoutChangeHint> for LayoutChangeHint[src]

impl StructuralEq for LayoutChangeHint[src]

impl StructuralPartialEq for LayoutChangeHint[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.