Struct current::CurrentGuard
[−]
[src]
pub struct CurrentGuard<'a, T> where T: Any {
// some fields omitted
}
Puts back the previous current pointer.
Methods
impl<'a, T> CurrentGuard<'a, T> where T: Any
[src]
fn new(val: &mut T) -> CurrentGuard<T>
Creates a new current guard.