Struct guerrilla::PatchGuard
source · pub struct PatchGuard { /* private fields */ }
Expand description
When this structure is dropped (falls out of scope), the patch will be reverted and the function will return to its original state.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PatchGuard
impl !Send for PatchGuard
impl !Sync for PatchGuard
impl Unpin for PatchGuard
impl UnwindSafe for PatchGuard
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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