pub enum RegSetLead {
Position,
Regex,
PriorityToRegexOrder,
}Expand description
Defines the search priority when multiple regexes could match at the same position
Variants§
Position
Return the match that occurs first in the text (position priority)
Regex
Same results as Position I think but slower
PriorityToRegexOrder
Return the first regex in your regset that matches, regardless of position
Trait Implementations§
Source§impl Clone for RegSetLead
impl Clone for RegSetLead
Source§fn clone(&self) -> RegSetLead
fn clone(&self) -> RegSetLead
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegSetLead
impl Debug for RegSetLead
Source§impl PartialEq for RegSetLead
impl PartialEq for RegSetLead
impl Copy for RegSetLead
impl Eq for RegSetLead
impl StructuralPartialEq for RegSetLead
Auto Trait Implementations§
impl Freeze for RegSetLead
impl RefUnwindSafe for RegSetLead
impl Send for RegSetLead
impl Sync for RegSetLead
impl Unpin for RegSetLead
impl UnwindSafe for RegSetLead
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)