[−][src]Struct qt_gui::q_icon::Mode
This enum type describes the mode for which a pixmap is intended to be used. The currently defined modes are:
C++ enum: QIcon::Mode
.
This enum type describes the mode for which a pixmap is intended to be used. The currently defined modes are:
Methods
impl Mode
[src]
impl Mode
[src]
pub const Normal: Mode
[src]
Display the pixmap when the user is not interacting with the icon, but the functionality represented by the icon is available. (C++ enum variant: Normal = 0
)
pub const Disabled: Mode
[src]
Display the pixmap when the functionality represented by the icon is not available. (C++ enum variant: Disabled = 1
)
pub const Active: Mode
[src]
Display the pixmap when the functionality represented by the icon is available and the user is interacting with the icon, for example, moving the mouse over it or clicking it. (C++ enum variant: Active = 2
)
pub const Selected: Mode
[src]
Display the pixmap when the item represented by the icon is selected. (C++ enum variant: Selected = 3
)
Trait Implementations
impl Clone for Mode
[src]
impl Copy for Mode
[src]
impl Debug for Mode
[src]
impl Eq for Mode
[src]
impl From<Mode> for c_int
[src]
impl From<i32> for Mode
[src]
impl PartialEq<Mode> for Mode
[src]
impl StructuralEq for Mode
[src]
impl StructuralPartialEq for Mode
[src]
Auto Trait Implementations
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> 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> 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>,