pub struct FormatSettings {
pub align_predicates: bool,
pub align_prefixes: bool,
pub separate_prologue: bool,
pub capitalize_keywords: bool,
pub insert_spaces: Option<bool>,
pub tab_size: Option<u8>,
pub where_new_line: bool,
pub filter_same_line: bool,
pub compact: Option<u32>,
pub line_length: u32,
pub contract_triples: bool,
}Fields§
§align_predicates: bool§align_prefixes: bool§separate_prologue: bool§capitalize_keywords: bool§insert_spaces: Option<bool>§tab_size: Option<u8>§where_new_line: bool§filter_same_line: bool§compact: Option<u32>§line_length: u32§contract_triples: boolTrait Implementations§
Source§impl Clone for FormatSettings
impl Clone for FormatSettings
Source§fn clone(&self) -> FormatSettings
fn clone(&self) -> FormatSettings
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 FormatSettings
impl Debug for FormatSettings
Source§impl Default for FormatSettings
impl Default for FormatSettings
Source§impl<'de> Deserialize<'de> for FormatSettingswhere
FormatSettings: Default,
impl<'de> Deserialize<'de> for FormatSettingswhere
FormatSettings: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FormatSettings
impl PartialEq for FormatSettings
Source§impl Serialize for FormatSettings
impl Serialize for FormatSettings
impl StructuralPartialEq for FormatSettings
Auto Trait Implementations§
impl Freeze for FormatSettings
impl RefUnwindSafe for FormatSettings
impl Send for FormatSettings
impl Sync for FormatSettings
impl Unpin for FormatSettings
impl UnwindSafe for FormatSettings
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