Expand description
A replacement Query
Variants
Substring(String, String)
Substitute old
with new
Regex(Regex, String)
Replace the parts matching the regex with replacement
Subvert(Vec<(String, String)>)
Replace all instances of pattern
with replacement
, by
using case conversion methods.
This allows replacing FooBar with SpamEggs and foo_bar with spam_eggs
using only one query
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more