[−][src]Struct qt_core::MatchFlag
This enum describes the type of matches that can be used when searching for items in a model.
C++ enum: Qt::MatchFlag
.
This enum describes the type of matches that can be used when searching for items in a model.
The MatchFlags type is a typedef for QFlags<MatchFlag>. It stores an OR combination of MatchFlag values.
See also QString::compare() and QRegExp.
Methods
impl MatchFlag
[src]
impl MatchFlag
[src]
pub const MatchExactly: MatchFlag
[src]
Performs QVariant-based matching. (C++ enum variant: MatchExactly = 0
)
pub const MatchContains: MatchFlag
[src]
The search term is contained in the item. (C++ enum variant: MatchContains = 1
)
pub const MatchStartsWith: MatchFlag
[src]
The search term matches the start of the item. (C++ enum variant: MatchStartsWith = 2
)
pub const MatchEndsWith: MatchFlag
[src]
The search term matches the end of the item. (C++ enum variant: MatchEndsWith = 3
)
pub const MatchRegExp: MatchFlag
[src]
Performs string-based matching using a regular expression as the search term. (C++ enum variant: MatchRegExp = 4
)
pub const MatchWildcard: MatchFlag
[src]
Performs string-based matching using a string with wildcards as the search term. (C++ enum variant: MatchWildcard = 5
)
pub const MatchFixedString: MatchFlag
[src]
Performs string-based matching. String-based comparisons are case-insensitive unless the MatchCaseSensitive
flag is also specified. (C++ enum variant: MatchFixedString = 8
)
pub const MatchCaseSensitive: MatchFlag
[src]
The search is case sensitive. (C++ enum variant: MatchCaseSensitive = 16
)
pub const MatchWrap: MatchFlag
[src]
Perform a search that wraps around, so that when the search reaches the last item in the model, it begins again at the first item and continues until all items have been examined. (C++ enum variant: MatchWrap = 32
)
pub const MatchRecursive: MatchFlag
[src]
Searches the entire hierarchy. (C++ enum variant: MatchRecursive = 64
)
Trait Implementations
impl<T: Into<QFlags<MatchFlag>>> BitOr<T> for MatchFlag
[src]
type Output = QFlags<MatchFlag>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<MatchFlag>
[src]
impl Clone for MatchFlag
[src]
impl Copy for MatchFlag
[src]
impl Debug for MatchFlag
[src]
impl Eq for MatchFlag
[src]
impl From<MatchFlag> for c_int
[src]
impl From<MatchFlag> for QFlags<MatchFlag>
[src]
impl From<i32> for MatchFlag
[src]
impl PartialEq<MatchFlag> for MatchFlag
[src]
impl StructuralEq for MatchFlag
[src]
impl StructuralPartialEq for MatchFlag
[src]
Auto Trait Implementations
impl RefUnwindSafe for MatchFlag
impl Send for MatchFlag
impl Sync for MatchFlag
impl Unpin for MatchFlag
impl UnwindSafe for MatchFlag
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,