[][src]Struct qt_widgets::q_file_dialog::ViewMode

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

This enum describes the view mode of the file dialog; i.e. what information about each file will be displayed.

C++ enum: QFileDialog::ViewMode.

C++ documentation:

This enum describes the view mode of the file dialog; i.e. what information about each file will be displayed.

See also setViewMode().

Methods

impl ViewMode[src]

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

impl ViewMode[src]

pub const Detail: ViewMode[src]

Displays an icon, a name, and details for each item in the directory. (C++ enum variant: Detail = 0)

pub const List: ViewMode[src]

Displays only an icon and a name for each item in the directory. (C++ enum variant: List = 1)

Trait Implementations

impl Eq for ViewMode[src]

impl Clone for ViewMode[src]

impl PartialEq<ViewMode> for ViewMode[src]

impl From<i32> for ViewMode[src]

impl From<ViewMode> for c_int[src]

impl Copy for ViewMode[src]

impl Debug for ViewMode[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]