pub struct EcosystemConfig {
pub show_up_to_date_hints: bool,
pub up_to_date_text: String,
pub needs_update_text: String,
pub loading_text: String,
pub show_loading_hints: bool,
pub offline: bool,
}Expand description
Configuration for LSP inlay hints feature.
Fields§
§show_up_to_date_hints: boolWhether to show inlay hints for up-to-date dependencies
up_to_date_text: StringText to display for up-to-date dependencies
needs_update_text: StringText to display for dependencies needing updates (use {} for version placeholder)
loading_text: StringText to display while loading registry data
show_loading_hints: boolWhether to show loading hints in inlay hints
offline: boolWhether network.offline is set (issue #483): when true and no cached latest
version exists for a dependency, crate::lsp_helpers::generate_inlay_hints
shows an offline marker instead of silently falling back to the resolved-version
display, which would otherwise look identical to a normal pre-fetch state.
Trait Implementations§
Source§impl Clone for EcosystemConfig
impl Clone for EcosystemConfig
Source§fn clone(&self) -> EcosystemConfig
fn clone(&self) -> EcosystemConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EcosystemConfig
impl Debug for EcosystemConfig
Auto Trait Implementations§
impl Freeze for EcosystemConfig
impl RefUnwindSafe for EcosystemConfig
impl Send for EcosystemConfig
impl Sync for EcosystemConfig
impl Unpin for EcosystemConfig
impl UnsafeUnpin for EcosystemConfig
impl UnwindSafe for EcosystemConfig
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