pub struct InlayHintsConfig {
Show 13 fields pub render_colons: bool, pub type_hints: bool, pub parameter_hints: bool, pub chaining_hints: bool, pub reborrow_hints: ReborrowHints, pub closure_return_type_hints: ClosureReturnTypeHints, pub binding_mode_hints: bool, pub lifetime_elision_hints: LifetimeElisionHints, pub param_names_for_lifetime_elision_hints: bool, pub hide_named_constructor_hints: bool, pub hide_closure_initialization_hints: bool, pub max_length: Option<usize>, pub closing_brace_hints_min_lines: Option<usize>,
}

Fields

render_colons: booltype_hints: boolparameter_hints: boolchaining_hints: boolreborrow_hints: ReborrowHintsclosure_return_type_hints: ClosureReturnTypeHintsbinding_mode_hints: boollifetime_elision_hints: LifetimeElisionHintsparam_names_for_lifetime_elision_hints: boolhide_named_constructor_hints: boolhide_closure_initialization_hints: boolmax_length: Option<usize>closing_brace_hints_min_lines: Option<usize>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Cast a value to type U using CastTo.

Compare self to key and return true if they are equal.

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more