+ self.config.indent_style() == IndentStyle::Block || *self.use_block.borrow()
+ }
+
+ pub fn budget(&self, used_width: usize) -> usize {
+ self.config.max_width().saturating_sub(used_width)
+ }
+
+ pub fn inside_macro(&self) -> bool {
+ *self.inside_macro.borrow()
+ }
+
+ pub fn is_if_else_block(&self) -> bool {
+ *self.is_if_else_block.borrow()