pub struct PatternRenamer {
pub renaming: HashMap<String, String>,
}Expand description
A pattern transformer that applies renaming to variable patterns.
Fields§
§renaming: HashMap<String, String>Map from old name to new name
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PatternRenamer
impl RefUnwindSafe for PatternRenamer
impl Send for PatternRenamer
impl Sync for PatternRenamer
impl Unpin for PatternRenamer
impl UnsafeUnpin for PatternRenamer
impl UnwindSafe for PatternRenamer
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