Struct qt_core::q_mime_database::MatchMode
source · pub struct MatchMode(/* private fields */);
Expand description
This enum specifies how matching a file to a MIME type is performed.
C++ enum: QMimeDatabase::MatchMode
.
This enum specifies how matching a file to a MIME type is performed.
Implementations§
source§impl MatchMode
impl MatchMode
sourcepub const MatchDefault: MatchMode = _
pub const MatchDefault: MatchMode = _
Both the file name and content are used to look for a match (C++ enum variant: MatchDefault = 0
)
sourcepub const MatchExtension: MatchMode = _
pub const MatchExtension: MatchMode = _
Only the file name is used to look for a match (C++ enum variant: MatchExtension = 1
)
sourcepub const MatchContent: MatchMode = _
pub const MatchContent: MatchMode = _
The file content is used to look for a match (C++ enum variant: MatchContent = 2
)
Trait Implementations§
source§impl PartialEq for MatchMode
impl PartialEq for MatchMode
impl Copy for MatchMode
impl Eq for MatchMode
impl StructuralEq for MatchMode
impl StructuralPartialEq for MatchMode
Auto Trait Implementations§
impl RefUnwindSafe for MatchMode
impl Send for MatchMode
impl Sync for MatchMode
impl Unpin for MatchMode
impl UnwindSafe for MatchMode
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