pub struct FormatterConfig {
pub indent_use_space: bool,
pub indent_size: u8,
pub inline_space: u8,
pub multiline_newline: bool,
pub attribute_newline: bool,
pub align_attribute: bool,
}
Expand description
Fields§
§indent_use_space: bool
§indent_size: u8
§inline_space: u8
text{ F }
multiline_newline: bool
§attribute_newline: bool
§align_attribute: bool
Trait Implementations§
Source§impl Clone for FormatterConfig
impl Clone for FormatterConfig
Source§fn clone(&self) -> FormatterConfig
fn clone(&self) -> FormatterConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FormatterConfig
impl Debug for FormatterConfig
Auto Trait Implementations§
impl Freeze for FormatterConfig
impl RefUnwindSafe for FormatterConfig
impl Send for FormatterConfig
impl Sync for FormatterConfig
impl Unpin for FormatterConfig
impl UnwindSafe for FormatterConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more