pub struct RegexFlagError {
pub kind: RegexFlagErrorKind,
pub pos: usize,
}Expand description
A regex flag error detected during scanning.
Fields§
§kind: RegexFlagErrorKindKind of error
pos: usizePosition of the error character
Trait Implementations§
Source§impl Clone for RegexFlagError
impl Clone for RegexFlagError
Source§fn clone(&self) -> RegexFlagError
fn clone(&self) -> RegexFlagError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RegexFlagError
impl RefUnwindSafe for RegexFlagError
impl Send for RegexFlagError
impl Sync for RegexFlagError
impl Unpin for RegexFlagError
impl UnsafeUnpin for RegexFlagError
impl UnwindSafe for RegexFlagError
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