pub 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 .
pub 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
    }
pub 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