pub struct InlayHintsConfig<'a> {Show 26 fields
pub render_colons: bool,
pub type_hints: bool,
pub sized_bound: bool,
pub discriminant_hints: DiscriminantHints,
pub parameter_hints: bool,
pub generic_parameter_hints: GenericParameterHints,
pub chaining_hints: bool,
pub adjustment_hints: AdjustmentHints,
pub adjustment_hints_disable_reborrows: bool,
pub adjustment_hints_mode: AdjustmentHintsMode,
pub adjustment_hints_hide_outside_unsafe: bool,
pub closure_return_type_hints: ClosureReturnTypeHints,
pub closure_capture_hints: bool,
pub binding_mode_hints: bool,
pub implicit_drop_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 hide_closure_parameter_hints: bool,
pub range_exclusive_hints: bool,
pub closure_style: ClosureStyle,
pub max_length: Option<usize>,
pub closing_brace_hints_min_lines: Option<usize>,
pub fields_to_resolve: InlayFieldsToResolve,
pub minicore: MiniCore<'a>,
}Fields§
§render_colons: bool§type_hints: bool§sized_bound: bool§discriminant_hints: DiscriminantHints§parameter_hints: bool§generic_parameter_hints: GenericParameterHints§chaining_hints: bool§adjustment_hints: AdjustmentHints§adjustment_hints_disable_reborrows: bool§adjustment_hints_mode: AdjustmentHintsMode§adjustment_hints_hide_outside_unsafe: bool§closure_return_type_hints: ClosureReturnTypeHints§closure_capture_hints: bool§binding_mode_hints: bool§implicit_drop_hints: bool§lifetime_elision_hints: LifetimeElisionHints§param_names_for_lifetime_elision_hints: bool§hide_named_constructor_hints: bool§hide_closure_initialization_hints: bool§hide_closure_parameter_hints: bool§range_exclusive_hints: bool§closure_style: ClosureStyle§max_length: Option<usize>§closing_brace_hints_min_lines: Option<usize>§fields_to_resolve: InlayFieldsToResolve§minicore: MiniCore<'a>Trait Implementations§
Source§impl<'a> Clone for InlayHintsConfig<'a>
impl<'a> Clone for InlayHintsConfig<'a>
Source§fn clone(&self) -> InlayHintsConfig<'a>
fn clone(&self) -> InlayHintsConfig<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for InlayHintsConfig<'a>
impl<'a> RefUnwindSafe for InlayHintsConfig<'a>
impl<'a> Send for InlayHintsConfig<'a>
impl<'a> Sync for InlayHintsConfig<'a>
impl<'a> Unpin for InlayHintsConfig<'a>
impl<'a> UnwindSafe for InlayHintsConfig<'a>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 more