[−][src]Struct qt_widgets::q_style_option_view_item::ViewItemFeature
This enum describes the different types of features an item can have.
C++ enum: QStyleOptionViewItem::ViewItemFeature
.
This enum describes the different types of features an item can have.
The ViewItemFeatures type is a typedef for QFlags<ViewItemFeature>. It stores an OR combination of ViewItemFeature values.
Methods
impl ViewItemFeature
[src]
impl ViewItemFeature
[src]
pub const None: ViewItemFeature
[src]
Indicates a normal item. (C++ enum variant: None = 0
)
pub const WrapText: ViewItemFeature
[src]
Indicates an item with wrapped text. (C++ enum variant: WrapText = 1
)
pub const Alternate: ViewItemFeature
[src]
Indicates that the item's background is rendered using alternateBase. (C++ enum variant: Alternate = 2
)
pub const HasCheckIndicator: ViewItemFeature
[src]
Indicates that the item has a check state indicator. (C++ enum variant: HasCheckIndicator = 4
)
pub const HasDisplay: ViewItemFeature
[src]
Indicates that the item has a display role. (C++ enum variant: HasDisplay = 8
)
pub const HasDecoration: ViewItemFeature
[src]
Indicates that the item has a decoration role. (C++ enum variant: HasDecoration = 16
)
Trait Implementations
impl Eq for ViewItemFeature
[src]
impl Clone for ViewItemFeature
[src]
fn clone(&self) -> ViewItemFeature
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<ViewItemFeature> for ViewItemFeature
[src]
fn eq(&self, other: &ViewItemFeature) -> bool
[src]
fn ne(&self, other: &ViewItemFeature) -> bool
[src]
impl From<i32> for ViewItemFeature
[src]
impl From<ViewItemFeature> for c_int
[src]
fn from(value: ViewItemFeature) -> Self
[src]
impl From<ViewItemFeature> for QFlags<ViewItemFeature>
[src]
fn from(value: ViewItemFeature) -> Self
[src]
impl Copy for ViewItemFeature
[src]
impl<T: Into<QFlags<ViewItemFeature>>> BitOr<T> for ViewItemFeature
[src]
type Output = QFlags<ViewItemFeature>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<ViewItemFeature>
[src]
impl Debug for ViewItemFeature
[src]
Auto Trait Implementations
impl Send for ViewItemFeature
impl Unpin for ViewItemFeature
impl Sync for ViewItemFeature
impl UnwindSafe for ViewItemFeature
impl RefUnwindSafe for ViewItemFeature
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,