Enum clippy_config::conf::Field
source · enum Field {
Show 78 variants
absolute_paths_allowed_crates,
absolute_paths_max_segments,
accept_comment_above_attributes,
accept_comment_above_statement,
allow_comparison_to_zero,
allow_dbg_in_tests,
allow_expect_in_tests,
allow_mixed_uninlined_format_args,
allow_one_hash_in_raw_strings,
allow_panic_in_tests,
allow_print_in_tests,
allow_private_module_inception,
allow_renamed_params_for,
allow_unwrap_in_tests,
allow_useless_vec_in_tests,
allowed_dotfiles,
allowed_duplicate_crates,
allowed_idents_below_min_chars,
allowed_prefixes,
allowed_scripts,
allowed_wildcard_imports,
arithmetic_side_effects_allowed,
arithmetic_side_effects_allowed_binary,
arithmetic_side_effects_allowed_unary,
array_size_threshold,
avoid_breaking_exported_api,
await_holding_invalid_types,
blacklisted_names,
cargo_ignore_publish,
check_private_items,
cognitive_complexity_threshold,
cyclomatic_complexity_threshold,
disallowed_macros,
disallowed_methods,
disallowed_names,
disallowed_types,
doc_valid_idents,
enable_raw_pointer_heuristic_for_send,
enforce_iter_loop_reborrow,
enforced_import_renames,
enum_variant_name_threshold,
enum_variant_size_threshold,
excessive_nesting_threshold,
future_size_threshold,
ignore_interior_mutability,
large_error_threshold,
literal_representation_threshold,
matches_for_let_else,
max_fn_params_bools,
max_include_file_size,
max_struct_bools,
max_suggested_slice_pattern_length,
max_trait_bounds,
min_ident_chars_threshold,
missing_docs_in_crate_items,
msrv,
pass_by_value_size_limit,
pub_underscore_fields_behavior,
semicolon_inside_block_ignore_singleline,
semicolon_outside_block_ignore_multiline,
single_char_binding_names_threshold,
stack_size_threshold,
standard_macro_braces,
struct_field_name_threshold,
suppress_restriction_lint_in_const,
too_large_for_stack,
too_many_arguments_threshold,
too_many_lines_threshold,
trivial_copy_size_limit,
type_complexity_threshold,
unnecessary_box_size,
unreadable_literal_lint_fractions,
upper_case_acronyms_aggressive,
vec_box_size_threshold,
verbose_bit_mask_threshold,
warn_on_all_wildcard_imports,
warn_unsafe_macro_metavars_in_private_macros,
third_party,
}
Variants§
absolute_paths_allowed_crates
absolute_paths_max_segments
accept_comment_above_attributes
accept_comment_above_statement
allow_comparison_to_zero
allow_dbg_in_tests
allow_expect_in_tests
allow_mixed_uninlined_format_args
allow_one_hash_in_raw_strings
allow_panic_in_tests
allow_print_in_tests
allow_private_module_inception
allow_renamed_params_for
allow_unwrap_in_tests
allow_useless_vec_in_tests
allowed_dotfiles
allowed_duplicate_crates
allowed_idents_below_min_chars
allowed_prefixes
allowed_scripts
allowed_wildcard_imports
arithmetic_side_effects_allowed
arithmetic_side_effects_allowed_binary
arithmetic_side_effects_allowed_unary
array_size_threshold
avoid_breaking_exported_api
await_holding_invalid_types
blacklisted_names
cargo_ignore_publish
check_private_items
cognitive_complexity_threshold
cyclomatic_complexity_threshold
disallowed_macros
disallowed_methods
disallowed_names
disallowed_types
doc_valid_idents
enable_raw_pointer_heuristic_for_send
enforce_iter_loop_reborrow
enforced_import_renames
enum_variant_name_threshold
enum_variant_size_threshold
excessive_nesting_threshold
future_size_threshold
ignore_interior_mutability
large_error_threshold
literal_representation_threshold
matches_for_let_else
max_fn_params_bools
max_include_file_size
max_struct_bools
max_suggested_slice_pattern_length
max_trait_bounds
min_ident_chars_threshold
missing_docs_in_crate_items
msrv
pass_by_value_size_limit
pub_underscore_fields_behavior
semicolon_inside_block_ignore_singleline
semicolon_outside_block_ignore_multiline
single_char_binding_names_threshold
stack_size_threshold
standard_macro_braces
struct_field_name_threshold
suppress_restriction_lint_in_const
too_large_for_stack
too_many_arguments_threshold
too_many_lines_threshold
trivial_copy_size_limit
type_complexity_threshold
unnecessary_box_size
unreadable_literal_lint_fractions
upper_case_acronyms_aggressive
vec_box_size_threshold
verbose_bit_mask_threshold
warn_on_all_wildcard_imports
warn_unsafe_macro_metavars_in_private_macros
third_party
Trait Implementations§
source§impl<'de> Deserialize<'de> for Field
impl<'de> Deserialize<'de> for Field
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
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreimpl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
absolute_paths_allowed_crates
: 0 bytesabsolute_paths_max_segments
: 0 bytesaccept_comment_above_attributes
: 0 bytesaccept_comment_above_statement
: 0 bytesallow_comparison_to_zero
: 0 bytesallow_dbg_in_tests
: 0 bytesallow_expect_in_tests
: 0 bytesallow_mixed_uninlined_format_args
: 0 bytesallow_one_hash_in_raw_strings
: 0 bytesallow_panic_in_tests
: 0 bytesallow_print_in_tests
: 0 bytesallow_private_module_inception
: 0 bytesallow_renamed_params_for
: 0 bytesallow_unwrap_in_tests
: 0 bytesallow_useless_vec_in_tests
: 0 bytesallowed_dotfiles
: 0 bytesallowed_duplicate_crates
: 0 bytesallowed_idents_below_min_chars
: 0 bytesallowed_prefixes
: 0 bytesallowed_scripts
: 0 bytesallowed_wildcard_imports
: 0 bytesarithmetic_side_effects_allowed
: 0 bytesarithmetic_side_effects_allowed_binary
: 0 bytesarithmetic_side_effects_allowed_unary
: 0 bytesarray_size_threshold
: 0 bytesavoid_breaking_exported_api
: 0 bytesawait_holding_invalid_types
: 0 bytesblacklisted_names
: 0 bytescargo_ignore_publish
: 0 bytescheck_private_items
: 0 bytescognitive_complexity_threshold
: 0 bytescyclomatic_complexity_threshold
: 0 bytesdisallowed_macros
: 0 bytesdisallowed_methods
: 0 bytesdisallowed_names
: 0 bytesdisallowed_types
: 0 bytesdoc_valid_idents
: 0 bytesenable_raw_pointer_heuristic_for_send
: 0 bytesenforce_iter_loop_reborrow
: 0 bytesenforced_import_renames
: 0 bytesenum_variant_name_threshold
: 0 bytesenum_variant_size_threshold
: 0 bytesexcessive_nesting_threshold
: 0 bytesfuture_size_threshold
: 0 bytesignore_interior_mutability
: 0 byteslarge_error_threshold
: 0 bytesliteral_representation_threshold
: 0 bytesmatches_for_let_else
: 0 bytesmax_fn_params_bools
: 0 bytesmax_include_file_size
: 0 bytesmax_struct_bools
: 0 bytesmax_suggested_slice_pattern_length
: 0 bytesmax_trait_bounds
: 0 bytesmin_ident_chars_threshold
: 0 bytesmissing_docs_in_crate_items
: 0 bytesmsrv
: 0 bytespass_by_value_size_limit
: 0 bytespub_underscore_fields_behavior
: 0 bytessemicolon_inside_block_ignore_singleline
: 0 bytessemicolon_outside_block_ignore_multiline
: 0 bytessingle_char_binding_names_threshold
: 0 bytesstack_size_threshold
: 0 bytesstandard_macro_braces
: 0 bytesstruct_field_name_threshold
: 0 bytessuppress_restriction_lint_in_const
: 0 bytestoo_large_for_stack
: 0 bytestoo_many_arguments_threshold
: 0 bytestoo_many_lines_threshold
: 0 bytestrivial_copy_size_limit
: 0 bytestype_complexity_threshold
: 0 bytesunnecessary_box_size
: 0 bytesunreadable_literal_lint_fractions
: 0 bytesupper_case_acronyms_aggressive
: 0 bytesvec_box_size_threshold
: 0 bytesverbose_bit_mask_threshold
: 0 byteswarn_on_all_wildcard_imports
: 0 byteswarn_unsafe_macro_metavars_in_private_macros
: 0 bytesthird_party
: 0 bytes