pub struct CaretMode(/* private fields */);
Expand description
The CaretMode enum defines the different meanings of the caret (^) in a regular expression. The possible values are:
C++ enum: QRegExp::CaretMode
.
The CaretMode enum defines the different meanings of the caret (^) in a regular expression. The possible values are:
Implementations§
source§impl CaretMode
impl CaretMode
sourcepub const CaretAtZero: CaretMode = _
pub const CaretAtZero: CaretMode = _
The caret corresponds to index 0 in the searched string. (C++ enum variant: CaretAtZero = 0
)
sourcepub const CaretAtOffset: CaretMode = _
pub const CaretAtOffset: CaretMode = _
The caret corresponds to the start offset of the search. (C++ enum variant: CaretAtOffset = 1
)
sourcepub const CaretWontMatch: CaretMode = _
pub const CaretWontMatch: CaretMode = _
The caret never matches. (C++ enum variant: CaretWontMatch = 2
)
Trait Implementations§
source§impl PartialEq for CaretMode
impl PartialEq for CaretMode
impl Copy for CaretMode
impl Eq for CaretMode
impl StructuralEq for CaretMode
impl StructuralPartialEq for CaretMode
Auto Trait Implementations§
impl RefUnwindSafe for CaretMode
impl Send for CaretMode
impl Sync for CaretMode
impl Unpin for CaretMode
impl UnwindSafe for CaretMode
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