pub fn wrap_orphan_if<'a>(&'a mut self) -> FormatterLock<'a> {
        if !self.wrap_standalone_if {
            return FormatterLock::new(self, Box::new(move |_fmt| {}));
        }

        self.wrap_curly()
    }
/// Creates a formatter lock that will wrap the output in curly brackets
/// if orphan if blocks are currently disallowed.
Creates a formatter lock that will wrap the output in curly brackets
if orphan if blocks are currently disallowed.
Creates a formatter lock that will wrap the output in curly brackets if orphan if blocks are currently disallowed .
pub fn wrap_orphan_if<'a>(&'a mut self) -> FormatterLock<'a> {
        if !self.wrap_standalone_if {
            return FormatterLock::new(self, Box::new(move |_fmt| {}));
        }
        self.wrap_curly()
    }
pub fn wrap_orphan_if < ' a > ( & ' a mut self ) -> FormatterLock < ' a > { if ! self . wrap_standalone_if { return FormatterLock :: new ( self , Box :: new ( move | _fmt | { } ) ) ; } self . wrap_curly ( ) }
Creates a formatter lock that will wrap the output in curly brackets
if orphan if blocks are currently disallowed.
Creates a formatter lock that will wrap the output in curly brackets if orphan if blocks are currently disallowed .
&'a mut self