[][src]Struct qt_widgets::q_abstract_item_view::DropIndicatorPosition

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

This enum indicates the position of the drop indicator in relation to the index at the current mouse position:

C++ enum: QAbstractItemView::DropIndicatorPosition.

C++ documentation:

This enum indicates the position of the drop indicator in relation to the index at the current mouse position:

Methods

impl DropIndicatorPosition[src]

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

impl DropIndicatorPosition[src]

pub const OnItem: DropIndicatorPosition[src]

The item will be dropped on the index. (C++ enum variant: OnItem = 0)

pub const AboveItem: DropIndicatorPosition[src]

The item will be dropped above the index. (C++ enum variant: AboveItem = 1)

pub const BelowItem: DropIndicatorPosition[src]

The item will be dropped below the index. (C++ enum variant: BelowItem = 2)

pub const OnViewport: DropIndicatorPosition[src]

The item will be dropped onto a region of the viewport with no items. The way each view handles items dropped onto the viewport depends on the behavior of the underlying model in use. (C++ enum variant: OnViewport = 3)

Trait Implementations

impl Clone for DropIndicatorPosition[src]

impl Copy for DropIndicatorPosition[src]

impl Debug for DropIndicatorPosition[src]

impl Eq for DropIndicatorPosition[src]

impl From<DropIndicatorPosition> for c_int[src]

impl From<i32> for DropIndicatorPosition[src]

impl PartialEq<DropIndicatorPosition> for DropIndicatorPosition[src]

impl StructuralEq for DropIndicatorPosition[src]

impl StructuralPartialEq for DropIndicatorPosition[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.