pub fn disallow_orphan_if<'a>(&'a mut self) -> FormatterLock<'a> {
        let wrap_standalone_if = self.wrap_standalone_if;

        self.wrap_standalone_if = true;
        FormatterLock::new(
            self,
            Box::new(move |fmt| { fmt.wrap_standalone_if = wrap_standalone_if; }),
        )
    }
/// Creates a formatter lock that disallows orphan "if" blocks
/// (without else blocks) in the current scope.
Creates a formatter lock that disallows orphan "if" blocks
(without else blocks) in the current scope.
Creates a formatter lock that disallows orphan " if " blocks ( without else blocks ) in the current scope .
pub fn disallow_orphan_if<'a>(&'a mut self) -> FormatterLock<'a> {
        let wrap_standalone_if = self.wrap_standalone_if;
        self.wrap_standalone_if = true;
        FormatterLock::new(
            self,
            Box::new(move |fmt| { fmt.wrap_standalone_if = wrap_standalone_if; }),
        )
    }
pub fn disallow_orphan_if < ' a > ( & ' a mut self ) -> FormatterLock < ' a > { let wrap_standalone_if = self . wrap_standalone_if ; self . wrap_standalone_if = true ; FormatterLock :: new ( self , Box :: new ( move | fmt | { fmt . wrap_standalone_if = wrap_standalone_if ; } ) , ) }
Creates a formatter lock that disallows orphan "if" blocks
(without else blocks) in the current scope.
Creates a formatter lock that disallows orphan " if " blocks ( without else blocks ) in the current scope .
&'a mut self