rustfmt_nightly::config::style_edition

Trait StyleEditionDefault

source
pub trait StyleEditionDefault {
    type ConfigType;

    // Required method
    fn style_edition_default(style_edition: StyleEdition) -> Self::ConfigType;
}
Expand description

Defines the default value for the given style edition

Required Associated Types§

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§

source§

impl StyleEditionDefault for ArrayWidth

source§

impl StyleEditionDefault for AttrFnLikeWidth

source§

impl StyleEditionDefault for BinopSeparator

source§

impl StyleEditionDefault for BlankLinesLowerBound

source§

impl StyleEditionDefault for BlankLinesUpperBound

source§

impl StyleEditionDefault for BraceStyleConfig

source§

impl StyleEditionDefault for ChainWidth

source§

impl StyleEditionDefault for ColorConfig

source§

impl StyleEditionDefault for CombineControlExpr

source§

impl StyleEditionDefault for CommentWidth

source§

impl StyleEditionDefault for CondenseWildcardSuffixes

source§

impl StyleEditionDefault for ControlBraceStyleConfig

source§

impl StyleEditionDefault for DisableAllFormatting

source§

impl StyleEditionDefault for DocCommentCodeBlockWidth

source§

impl StyleEditionDefault for EditionConfig

source§

impl StyleEditionDefault for EmitModeConfig

source§

impl StyleEditionDefault for EmptyItemSingleLine

source§

impl StyleEditionDefault for EnumDiscrimAlignThreshold

source§

impl StyleEditionDefault for ErrorOnLineOverflow

source§

impl StyleEditionDefault for ErrorOnUnformatted

source§

impl StyleEditionDefault for FileLinesConfig

source§

impl StyleEditionDefault for FnArgsLayout

source§

impl StyleEditionDefault for FnCallWidth

source§

impl StyleEditionDefault for FnParamsLayout

source§

impl StyleEditionDefault for FnSingleLine

source§

impl StyleEditionDefault for ForceExplicitAbi

source§

impl StyleEditionDefault for ForceMultilineBlocks

source§

impl StyleEditionDefault for FormatCodeInDocComments

source§

impl StyleEditionDefault for FormatGeneratedFiles

source§

impl StyleEditionDefault for FormatMacroBodies

source§

impl StyleEditionDefault for FormatMacroMatchers

source§

impl StyleEditionDefault for FormatStrings

source§

impl StyleEditionDefault for GeneratedMarkerLineSearchLimit

source§

impl StyleEditionDefault for GroupImportsTacticConfig

source§

impl StyleEditionDefault for HardTabs

source§

impl StyleEditionDefault for HexLiteralCaseConfig

source§

impl StyleEditionDefault for HideParseErrors

source§

impl StyleEditionDefault for Ignore

source§

impl StyleEditionDefault for ImportsGranularityConfig

source§

impl StyleEditionDefault for ImportsIndent

source§

impl StyleEditionDefault for ImportsLayout

source§

impl StyleEditionDefault for IndentStyleConfig

source§

impl StyleEditionDefault for InlineAttributeWidth

source§

impl StyleEditionDefault for MakeBackup

source§

impl StyleEditionDefault for MatchArmBlocks

source§

impl StyleEditionDefault for MatchArmLeadingPipeConfig

source§

impl StyleEditionDefault for MatchBlockTrailingComma

source§

impl StyleEditionDefault for MaxWidth

source§

impl StyleEditionDefault for MergeDerives

source§

impl StyleEditionDefault for MergeImports

source§

impl StyleEditionDefault for NewlineStyleConfig

source§

impl StyleEditionDefault for NormalizeComments

source§

impl StyleEditionDefault for NormalizeDocAttributes

source§

impl StyleEditionDefault for OverflowDelimitedExpr

source§

impl StyleEditionDefault for PrintMisformattedFileNames

source§

impl StyleEditionDefault for RemoveNestedParens

source§

impl StyleEditionDefault for ReorderImplItems

source§

impl StyleEditionDefault for ReorderImports

source§

impl StyleEditionDefault for ReorderModules

source§

impl StyleEditionDefault for RequiredVersion

source§

impl StyleEditionDefault for ShortArrayElementWidthThreshold

source§

impl StyleEditionDefault for ShowParseErrors

source§

impl StyleEditionDefault for SingleLineIfElseMaxWidth

source§

impl StyleEditionDefault for SingleLineLetElseMaxWidth

source§

impl StyleEditionDefault for SkipChildren

source§

impl StyleEditionDefault for SkipMacroInvocations

source§

impl StyleEditionDefault for SpaceAfterColon

source§

impl StyleEditionDefault for SpaceBeforeColon

source§

impl StyleEditionDefault for SpacesAroundRanges

source§

impl StyleEditionDefault for StructFieldAlignThreshold

source§

impl StyleEditionDefault for StructLitSingleLine

source§

impl StyleEditionDefault for StructLitWidth

source§

impl StyleEditionDefault for StructVariantWidth

source§

impl StyleEditionDefault for StyleEditionConfig

source§

impl StyleEditionDefault for TabSpaces

source§

impl StyleEditionDefault for TrailingComma

source§

impl StyleEditionDefault for TrailingSemicolon

source§

impl StyleEditionDefault for TypePunctuationDensity

source§

impl StyleEditionDefault for UnstableFeatures

source§

impl StyleEditionDefault for UseFieldInitShorthand

source§

impl StyleEditionDefault for UseSmallHeuristics

source§

impl StyleEditionDefault for UseTryShorthand

source§

impl StyleEditionDefault for Verbose

source§

impl StyleEditionDefault for VersionConfig

source§

impl StyleEditionDefault for WhereSingleLine

source§

impl StyleEditionDefault for WidthHeuristicsConfig

source§

impl StyleEditionDefault for WrapComments