fn indent<F, R>(&mut self, f: F) -> R
    where
        F: FnOnce(&mut Self) -> R,
    {
        self.spaces += self.indent;
        let ret = f(self);
        self.spaces -= self.indent;
        ret
    }
/// Call the given function with the indentation level incremented by one.
Call the given function with the indentation level incremented by one.
Call the given function with the indentation level incremented by one .
fn indent<F, R>(&mut self, f: F) -> R
    where
        F: FnOnce(&mut Self) -> R,
    {
        self.spaces += self.indent;
        let ret = f(self);
        self.spaces -= self.indent;
        ret
    }
fn indent < F , R > ( & mut self , f : F ) -> R where F : FnOnce ( & mut Self ) -> R , { self . spaces += self . indent ; let ret = f ( self ) ; self . spaces -= self . indent ; ret }
Call the given function with the indentation level incremented by one.
Call the given function with the indentation level incremented by one .
&mut self
f
F
&mut self
f
F