pub struct Replacer { /* private fields */ }
Expand description
Replaces :emoji:
in strings
let r = gh_emoji::Replacer::new();
let unicode_text = r.replace_all("Hello :cat:!");
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Replacer
impl Send for Replacer
impl Sync for Replacer
impl Unpin for Replacer
impl UnwindSafe for Replacer
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