pub fn with_id<'a, F, I>(&self, id: I, f: F)
    where
        F: FnOnce(),
        I: Into<ImId<'a>>,
    {
        self.push_id(id);
        f();
        self.pop_id();
    }
/// Runs a function after temporarily pushing a value to the ID stack.
Runs a function after temporarily pushing a value to the ID stack.
Runs a function after temporarily pushing a value to the ID stack .
pub fn with_id<'a, F, I>(&self, id: I, f: F)
    where
        F: FnOnce(),
        I: Into<ImId<'a>>,
    {
        self.push_id(id);
        f();
        self.pop_id();
    }
pub fn with_id < ' a , F , I > ( & self , id : I , f : F ) where F : FnOnce ( ) , I : Into < ImId < ' a > > , { self . push_id ( id ) ; f ( ) ; self . pop_id ( ) ; }
Runs a function after temporarily pushing a value to the ID stack.
Runs a function after temporarily pushing a value to the ID stack .
&self
id
I
f
F