pub struct RegexPatterns {
pub fn_sig: Regex,
pub struct_def: Regex,
pub enum_def: Regex,
pub vis_pub_in: Regex,
pub import_stmt: Regex,
}Fields§
§fn_sig: Regex§struct_def: Regex§enum_def: Regex§vis_pub_in: Regex§import_stmt: RegexImplementations§
Trait Implementations§
Source§impl Debug for RegexPatterns
impl Debug for RegexPatterns
Auto Trait Implementations§
impl Freeze for RegexPatterns
impl RefUnwindSafe for RegexPatterns
impl Send for RegexPatterns
impl Sync for RegexPatterns
impl Unpin for RegexPatterns
impl UnwindSafe for RegexPatterns
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more