pub struct ModelSorting(/* private fields */);Expand description
This enum specifies how the items in the model are sorted.
C++ enum: QCompleter::ModelSorting.
This enum specifies how the items in the model are sorted.
See also setModelSorting().
Implementations§
Source§impl ModelSorting
impl ModelSorting
Sourcepub const UnsortedModel: ModelSorting
pub const UnsortedModel: ModelSorting
The model is unsorted. (C++ enum variant: UnsortedModel = 0)
Sourcepub const CaseSensitivelySortedModel: ModelSorting
pub const CaseSensitivelySortedModel: ModelSorting
The model is sorted case sensitively. (C++ enum variant: CaseSensitivelySortedModel = 1)
Sourcepub const CaseInsensitivelySortedModel: ModelSorting
pub const CaseInsensitivelySortedModel: ModelSorting
The model is sorted case insensitively. (C++ enum variant: CaseInsensitivelySortedModel = 2)
Trait Implementations§
Source§impl Clone for ModelSorting
impl Clone for ModelSorting
Source§fn clone(&self) -> ModelSorting
fn clone(&self) -> ModelSorting
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 ModelSorting
impl Debug for ModelSorting
Source§impl From<ModelSorting> for c_int
impl From<ModelSorting> for c_int
Source§fn from(value: ModelSorting) -> Self
fn from(value: ModelSorting) -> Self
Converts to this type from the input type.
Source§impl From<i32> for ModelSorting
impl From<i32> for ModelSorting
Source§impl PartialEq for ModelSorting
impl PartialEq for ModelSorting
impl Copy for ModelSorting
impl Eq for ModelSorting
impl StructuralPartialEq for ModelSorting
Auto Trait Implementations§
impl Freeze for ModelSorting
impl RefUnwindSafe for ModelSorting
impl Send for ModelSorting
impl Sync for ModelSorting
impl Unpin for ModelSorting
impl UnwindSafe for ModelSorting
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