[][src]Struct qt_widgets::q_dir_model::Roles

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

C++ enum: QDirModel::Roles.

C++ documentation:

Methods

impl Roles[src]

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

impl Roles[src]

pub const FileIconRole: Roles[src]

C++ enum variant: FileIconRole = 1

pub const FilePathRole: Roles[src]

C++ enum variant: FilePathRole = 257

pub const FileNameRole: Roles[src]

C++ enum variant: FileNameRole = 258

Trait Implementations

impl Clone for Roles[src]

impl Copy for Roles[src]

impl Debug for Roles[src]

impl Eq for Roles[src]

impl From<Roles> for c_int[src]

impl From<i32> for Roles[src]

impl PartialEq<Roles> for Roles[src]

impl StructuralEq for Roles[src]

impl StructuralPartialEq for Roles[src]

Auto Trait Implementations

impl RefUnwindSafe for Roles

impl Send for Roles

impl Sync for Roles

impl Unpin for Roles

impl UnwindSafe for Roles

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.