pub struct ReplacerRef<'a, R: ?Sized>(/* private fields */);
Expand description
By-reference adaptor for a Replacer
Returned by Replacer::by_ref
.
Trait Implementations§
source§impl<'a, R: Replacer + ?Sized + 'a> Replacer for ReplacerRef<'a, R>
impl<'a, R: Replacer + ?Sized + 'a> Replacer for ReplacerRef<'a, R>
Auto Trait Implementations§
impl<'a, R> Freeze for ReplacerRef<'a, R>where
R: ?Sized,
impl<'a, R> RefUnwindSafe for ReplacerRef<'a, R>where
R: RefUnwindSafe + ?Sized,
impl<'a, R> Send for ReplacerRef<'a, R>
impl<'a, R> Sync for ReplacerRef<'a, R>
impl<'a, R> Unpin for ReplacerRef<'a, R>where
R: ?Sized,
impl<'a, R> !UnwindSafe for ReplacerRef<'a, R>
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