pub struct FormattingOptions {
pub double_quot: bool,
pub new_lines: bool,
pub max_len: usize,
pub tab_size: u8,
}
Fields§
§double_quot: bool
Double quotation marks or single
new_lines: bool
Break tags in new line and split attributes when needed
max_len: usize
Max length used for split attributes to new lines
tab_size: u8
The amount of white spaces a tab is sized This will be needed to calculate the max length
Implementations§
Trait Implementations§
Source§impl Clone for FormattingOptions
impl Clone for FormattingOptions
Source§fn clone(&self) -> FormattingOptions
fn clone(&self) -> FormattingOptions
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 FormattingOptions
impl Debug for FormattingOptions
Auto Trait Implementations§
impl Freeze for FormattingOptions
impl RefUnwindSafe for FormattingOptions
impl Send for FormattingOptions
impl Sync for FormattingOptions
impl Unpin for FormattingOptions
impl UnwindSafe for FormattingOptions
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