Struct ra_ap_ide::InlayHintsConfig
source · pub struct InlayHintsConfig {Show 21 fields
pub render_colons: bool,
pub type_hints: bool,
pub discriminant_hints: DiscriminantHints,
pub parameter_hints: bool,
pub chaining_hints: bool,
pub adjustment_hints: AdjustmentHints,
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 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,
}
Fields§
§render_colons: bool
§type_hints: bool
§discriminant_hints: DiscriminantHints
§parameter_hints: bool
§chaining_hints: bool
§adjustment_hints: AdjustmentHints
§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
§range_exclusive_hints: bool
§closure_style: ClosureStyle
§max_length: Option<usize>
§closing_brace_hints_min_lines: Option<usize>
§fields_to_resolve: InlayFieldsToResolve
Trait Implementations§
source§impl Clone for InlayHintsConfig
impl Clone for InlayHintsConfig
source§fn clone(&self) -> InlayHintsConfig
fn clone(&self) -> InlayHintsConfig
Returns a copy 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 moresource§impl Debug for InlayHintsConfig
impl Debug for InlayHintsConfig
source§impl PartialEq for InlayHintsConfig
impl PartialEq for InlayHintsConfig
source§fn eq(&self, other: &InlayHintsConfig) -> bool
fn eq(&self, other: &InlayHintsConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InlayHintsConfig
impl StructuralPartialEq for InlayHintsConfig
Auto Trait Implementations§
impl Freeze for InlayHintsConfig
impl RefUnwindSafe for InlayHintsConfig
impl Send for InlayHintsConfig
impl Sync for InlayHintsConfig
impl Unpin for InlayHintsConfig
impl UnwindSafe for InlayHintsConfig
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> Cast for T
impl<T> Cast for T
source§fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
Cast a value to type
U
using CastTo
.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.