[][src]Struct qt_widgets::q_abstract_item_view::State

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

Describes the different states the view can be in. This is usually only interesting when reimplementing your own view.

C++ enum: QAbstractItemView::State.

C++ documentation:

Describes the different states the view can be in. This is usually only interesting when reimplementing your own view.

Methods

impl State[src]

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

impl State[src]

pub const NoState: State[src]

The is the default state. (C++ enum variant: NoState = 0)

pub const DraggingState: State[src]

The user is dragging items. (C++ enum variant: DraggingState = 1)

pub const DragSelectingState: State[src]

The user is selecting items. (C++ enum variant: DragSelectingState = 2)

pub const EditingState: State[src]

The user is editing an item in a widget editor. (C++ enum variant: EditingState = 3)

pub const ExpandingState: State[src]

The user is opening a branch of items. (C++ enum variant: ExpandingState = 4)

pub const CollapsingState: State[src]

The user is closing a branch of items. (C++ enum variant: CollapsingState = 5)

pub const AnimatingState: State[src]

The item view is performing an animation. (C++ enum variant: AnimatingState = 6)

Trait Implementations

impl Eq for State[src]

impl Clone for State[src]

impl PartialEq<State> for State[src]

impl From<i32> for State[src]

impl From<State> for c_int[src]

impl Copy for State[src]

impl Debug for State[src]

Auto Trait Implementations

impl Send for State

impl Unpin for State

impl Sync for State

impl UnwindSafe for State

impl RefUnwindSafe for State

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

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

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