[][src]Struct qt_widgets::q_abstract_item_view::ScrollHint

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

C++ enum: QAbstractItemView::ScrollHint.

C++ documentation:

Methods

impl ScrollHint[src]

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

impl ScrollHint[src]

pub const EnsureVisible: ScrollHint[src]

Scroll to ensure that the item is visible. (C++ enum variant: EnsureVisible = 0)

pub const PositionAtTop: ScrollHint[src]

Scroll to position the item at the top of the viewport. (C++ enum variant: PositionAtTop = 1)

pub const PositionAtBottom: ScrollHint[src]

Scroll to position the item at the bottom of the viewport. (C++ enum variant: PositionAtBottom = 2)

pub const PositionAtCenter: ScrollHint[src]

Scroll to position the item at the center of the viewport. (C++ enum variant: PositionAtCenter = 3)

Trait Implementations

impl Clone for ScrollHint[src]

impl Copy for ScrollHint[src]

impl Debug for ScrollHint[src]

impl Eq for ScrollHint[src]

impl From<ScrollHint> for c_int[src]

impl From<i32> for ScrollHint[src]

impl PartialEq<ScrollHint> for ScrollHint[src]

impl StructuralEq for ScrollHint[src]

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