Trait rustfmt_nightly::config::ConfigType
[−]
[src]
pub trait ConfigType: Sized { fn doc_hint() -> String; }
Trait for types that can be used in Config
.
Required Methods
fn doc_hint() -> String
Returns hint text for use in Config::print_docs()
. For enum types, this is a
pipe-separated list of variants; for other types it returns "
Implementors
impl ConfigType for Style
impl ConfigType for NewlineStyle
impl ConfigType for BraceStyle
impl ConfigType for ControlBraceStyle
impl ConfigType for ReturnIndent
impl ConfigType for IndentStyle
impl ConfigType for Density
impl ConfigType for TypeDensity
impl ConfigType for LicensePolicy
impl ConfigType for MultilineStyle
impl ConfigType for ReportTactic
impl ConfigType for WriteMode
impl ConfigType for bool
impl ConfigType for usize
impl ConfigType for isize
impl ConfigType for String
impl ConfigType for FileLines