pub struct LayoutChangeHint(/* private fields */);
Expand description
This enum describes the way the model changes layout.
C++ enum: QAbstractItemModel::LayoutChangeHint
.
This enum describes the way the model changes layout.
Note that VerticalSortHint and HorizontalSortHint carry the meaning that items are being moved within the same parent, not moved to a different parent in the model, and not filtered out or in.
Implementations§
Source§impl LayoutChangeHint
impl LayoutChangeHint
Sourcepub const NoLayoutChangeHint: LayoutChangeHint
pub const NoLayoutChangeHint: LayoutChangeHint
No hint is available. (C++ enum variant: NoLayoutChangeHint = 0
)
Sourcepub const VerticalSortHint: LayoutChangeHint
pub const VerticalSortHint: LayoutChangeHint
Rows are being sorted. (C++ enum variant: VerticalSortHint = 1
)
Sourcepub const HorizontalSortHint: LayoutChangeHint
pub const HorizontalSortHint: LayoutChangeHint
Columns are being sorted. (C++ enum variant: HorizontalSortHint = 2
)
Trait Implementations§
Source§impl Clone for LayoutChangeHint
impl Clone for LayoutChangeHint
Source§fn clone(&self) -> LayoutChangeHint
fn clone(&self) -> LayoutChangeHint
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 LayoutChangeHint
impl Debug for LayoutChangeHint
Source§impl From<LayoutChangeHint> for c_int
impl From<LayoutChangeHint> for c_int
Source§fn from(value: LayoutChangeHint) -> Self
fn from(value: LayoutChangeHint) -> Self
Converts to this type from the input type.
Source§impl From<i32> for LayoutChangeHint
impl From<i32> for LayoutChangeHint
Source§impl PartialEq for LayoutChangeHint
impl PartialEq for LayoutChangeHint
impl Copy for LayoutChangeHint
impl Eq for LayoutChangeHint
impl StructuralPartialEq for LayoutChangeHint
Auto Trait Implementations§
impl Freeze for LayoutChangeHint
impl RefUnwindSafe for LayoutChangeHint
impl Send for LayoutChangeHint
impl Sync for LayoutChangeHint
impl Unpin for LayoutChangeHint
impl UnwindSafe for LayoutChangeHint
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