[][src]Struct qt_widgets::q_style_option_view_item::Position

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

This enum describes the position of the item's decoration.

C++ enum: QStyleOptionViewItem::Position.

C++ documentation:

This enum describes the position of the item's decoration.

See also decorationPosition.

Methods

impl Position[src]

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

impl Position[src]

pub const Left: Position[src]

On the left of the text. (C++ enum variant: Left = 0)

pub const Right: Position[src]

On the right of the text. (C++ enum variant: Right = 1)

pub const Top: Position[src]

Above the text. (C++ enum variant: Top = 2)

pub const Bottom: Position[src]

Below the text. (C++ enum variant: Bottom = 3)

Trait Implementations

impl Eq for Position[src]

impl Clone for Position[src]

impl PartialEq<Position> for Position[src]

impl From<i32> for Position[src]

impl From<Position> for c_int[src]

impl Copy for Position[src]

impl Debug for Position[src]

Auto Trait Implementations

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]