pub struct StackingMode(/* private fields */);
Expand description
This enum specifies how the layout handles its child widgets regarding their visibility.
C++ enum: QStackedLayout::StackingMode
.
This enum specifies how the layout handles its child widgets regarding their visibility.
This enum was introduced or modified in Qt 4.4.
Implementations§
Source§impl StackingMode
impl StackingMode
Sourcepub const StackOne: StackingMode
pub const StackOne: StackingMode
Only the current widget is visible. This is the default. (C++ enum variant: StackOne = 0
)
Sourcepub const StackAll: StackingMode
pub const StackAll: StackingMode
All widgets are visible. The current widget is merely raised. (C++ enum variant: StackAll = 1
)
Trait Implementations§
Source§impl Clone for StackingMode
impl Clone for StackingMode
Source§fn clone(&self) -> StackingMode
fn clone(&self) -> StackingMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StackingMode
impl Debug for StackingMode
Source§impl From<StackingMode> for c_int
impl From<StackingMode> for c_int
Source§fn from(value: StackingMode) -> Self
fn from(value: StackingMode) -> Self
Converts to this type from the input type.
Source§impl From<i32> for StackingMode
impl From<i32> for StackingMode
Source§impl PartialEq for StackingMode
impl PartialEq for StackingMode
impl Copy for StackingMode
impl Eq for StackingMode
impl StructuralPartialEq for StackingMode
Auto Trait Implementations§
impl Freeze for StackingMode
impl RefUnwindSafe for StackingMode
impl Send for StackingMode
impl Sync for StackingMode
impl Unpin for StackingMode
impl UnwindSafe for StackingMode
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