pub enum BoundaryKind {
Start,
End,
Word,
NotWord,
WordStart,
WordEnd,
}Variants§
Start
Start, the start of the string (or start of line in single-line mode)
End
End, the end of the string (or end of line in single-line mode)
Word
%, a word boundary
NotWord
!%, not a word boundary
WordStart
< the beginning of a word
WordEnd
> the end of a word
Trait Implementations§
Source§impl Clone for BoundaryKind
impl Clone for BoundaryKind
Source§fn clone(&self) -> BoundaryKind
fn clone(&self) -> BoundaryKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BoundaryKind
Source§impl Debug for BoundaryKind
impl Debug for BoundaryKind
impl Eq for BoundaryKind
Source§impl PartialEq for BoundaryKind
impl PartialEq for BoundaryKind
Source§fn eq(&self, other: &BoundaryKind) -> bool
fn eq(&self, other: &BoundaryKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BoundaryKind
Auto Trait Implementations§
impl Freeze for BoundaryKind
impl RefUnwindSafe for BoundaryKind
impl Send for BoundaryKind
impl Sync for BoundaryKind
impl Unpin for BoundaryKind
impl UnsafeUnpin for BoundaryKind
impl UnwindSafe for BoundaryKind
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