Struct ra_ap_rust_analyzer::config::Config
source · [−]pub struct Config {
pub caps: ClientCapabilities,
pub discovered_projects: Option<Vec<ProjectManifest>>,
pub root_path: AbsPathBuf,
/* private fields */
}
Fields
caps: ClientCapabilities
discovered_projects: Option<Vec<ProjectManifest>>
root_path: AbsPathBuf
Implementations
sourceimpl Config
impl Config
pub fn linked_projects(&self) -> Vec<LinkedProject>
pub fn detached_files(&self) -> &[AbsPathBuf]
pub fn did_save_text_document_dynamic_registration(&self) -> bool
pub fn did_change_watched_files_dynamic_registration(&self) -> bool
pub fn prefill_caches(&self) -> bool
pub fn location_link(&self) -> bool
pub fn line_folding_only(&self) -> bool
pub fn hierarchical_symbols(&self) -> bool
pub fn code_action_literals(&self) -> bool
pub fn work_done_progress(&self) -> bool
pub fn will_rename(&self) -> bool
pub fn change_annotation_support(&self) -> bool
pub fn code_action_resolve(&self) -> bool
pub fn signature_help_label_offsets(&self) -> bool
pub fn offset_encoding(&self) -> OffsetEncoding
pub fn code_action_group(&self) -> bool
pub fn server_status_notification(&self) -> bool
pub fn publish_diagnostics(&self) -> bool
pub fn diagnostics(&self) -> DiagnosticsConfig
pub fn diagnostics_map(&self) -> DiagnosticsMapConfig
pub fn lru_capacity(&self) -> Option<usize>
pub fn proc_macro_srv(&self) -> Option<(AbsPathBuf, Vec<OsString>)>
pub fn dummy_replacements(&self) -> &FxHashMap<Box<str>, Box<[Box<str>]>>
pub fn expand_proc_attr_macros(&self) -> bool
pub fn files(&self) -> FilesConfig
pub fn notifications(&self) -> NotificationsConfig
pub fn cargo_autoreload(&self) -> bool
pub fn run_build_scripts(&self) -> bool
pub fn cargo(&self) -> CargoConfig
pub fn rustfmt(&self) -> RustfmtConfig
pub fn flycheck(&self) -> Option<FlycheckConfig>
pub fn runnables(&self) -> RunnablesConfig
pub fn inlay_hints(&self) -> InlayHintsConfig
pub fn completion(&self) -> CompletionConfig
pub fn assist(&self) -> AssistConfig
pub fn join_lines(&self) -> JoinLinesConfig
pub fn call_info_full(&self) -> bool
pub fn lens(&self) -> LensConfig
pub fn hover_actions(&self) -> HoverActionsConfig
pub fn highlighting_strings(&self) -> bool
pub fn hover(&self) -> HoverConfig
pub fn workspace_symbol(&self) -> WorkspaceSymbolConfig
pub fn semantic_tokens_refresh(&self) -> bool
pub fn code_lens_refresh(&self) -> bool
pub fn insert_replace_support(&self) -> bool
pub fn client_commands(&self) -> ClientCommandsConfig
pub fn prime_caches_num_threads(&self) -> u8
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Cast for T
impl<T> Cast for T
fn cast<U>(self, interner: <U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: <U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
Cast a value to type U
using CastTo
.
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more