pub struct Mode(/* private fields */);
Expand description
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:
Implementations§
source§impl Mode
impl Mode
sourcepub const Normal: Mode = _
pub const Normal: Mode = _
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
)
sourcepub const Disabled: Mode = _
pub const Disabled: Mode = _
Display the pixmap when the functionality represented by the icon is not available. (C++ enum variant: Disabled = 1
)
Trait Implementations§
source§impl PartialEq for Mode
impl PartialEq for Mode
impl Copy for Mode
impl Eq for Mode
impl StructuralEq for Mode
impl StructuralPartialEq for Mode
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more