Struct region::ProtectGuard
source · [−]pub struct ProtectGuard { /* private fields */ }
Expand description
A RAII implementation of a scoped protection guard.
When this structure is dropped (falls out of scope), the memory regions’ protection will be reset.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more