pub struct ResharpParser<'s> {
pub translator: Translator,
pub pattern: &'s str,
/* private fields */
}Expand description
RE# syntax parser based on the regex-syntax crate.
Fields§
§translator: Translator§pattern: &'s strImplementations§
Source§impl<'s> ResharpParser<'s>
impl<'s> ResharpParser<'s>
pub fn new(pattern: &'s str) -> Self
pub fn with_flags(pattern: &'s str, flags: &PatternFlags) -> Self
Auto Trait Implementations§
impl<'s> !Freeze for ResharpParser<'s>
impl<'s> !RefUnwindSafe for ResharpParser<'s>
impl<'s> Send for ResharpParser<'s>
impl<'s> !Sync for ResharpParser<'s>
impl<'s> Unpin for ResharpParser<'s>
impl<'s> UnsafeUnpin for ResharpParser<'s>
impl<'s> UnwindSafe for ResharpParser<'s>
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