Struct qt_core::q_abstract_item_model::LayoutChangeHint
source · 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 copy 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
source§fn eq(&self, other: &LayoutChangeHint) -> bool
fn eq(&self, other: &LayoutChangeHint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LayoutChangeHint
impl Eq for LayoutChangeHint
impl StructuralEq for LayoutChangeHint
impl StructuralPartialEq for LayoutChangeHint
Auto Trait Implementations§
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