pub struct Root {
pub global: Option<GlobalConfig>,
pub formatter: BTreeMap<String, FmtConfig>,
}
Expand description
treefmt.toml structure
Fields§
§global: Option<GlobalConfig>
Config that applies to every formatter
formatter: BTreeMap<String, FmtConfig>
Map of formatters into the config
Trait Implementations§
source§impl<'de> Deserialize<'de> for Root
impl<'de> Deserialize<'de> for Root
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 Root
impl PartialEq for Root
impl Eq for Root
impl StructuralEq for Root
impl StructuralPartialEq for Root
Auto Trait Implementations§
impl RefUnwindSafe for Root
impl Send for Root
impl Sync for Root
impl Unpin for Root
impl UnwindSafe for Root
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