pub struct SimplePattern {
pub pattern: String,
pub replacement: String,
}Expand description
Simple pattern replacement implementation
Fields§
§pattern: StringPattern to search for (case-sensitive)
replacement: StringReplacement text
Implementations§
Trait Implementations§
Source§impl PatternTransform for SimplePattern
impl PatternTransform for SimplePattern
Auto Trait Implementations§
impl Freeze for SimplePattern
impl RefUnwindSafe for SimplePattern
impl Send for SimplePattern
impl Sync for SimplePattern
impl Unpin for SimplePattern
impl UnwindSafe for SimplePattern
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