Struct ra_ap_rust_analyzer::config::Config[][src]

pub struct Config {
    pub discovered_projects: Option<Vec<ProjectManifest>>,
    pub root_path: AbsPathBuf,
    // some fields omitted
}

Fields

discovered_projects: Option<Vec<ProjectManifest>>root_path: AbsPathBuf

Implementations

impl Config[src]

pub fn new(root_path: AbsPathBuf, caps: ClientCapabilities) -> Self[src]

pub fn update(&mut self, json: Value)[src]

pub fn json_schema() -> Value[src]

impl Config[src]

pub fn linked_projects(&self) -> Vec<LinkedProject>[src]

pub fn did_save_text_document_dynamic_registration(&self) -> bool[src]

pub fn did_change_watched_files_dynamic_registration(&self) -> bool[src]

pub fn line_folding_only(&self) -> bool[src]

pub fn hierarchical_symbols(&self) -> bool[src]

pub fn code_action_literals(&self) -> bool[src]

pub fn work_done_progress(&self) -> bool[src]

pub fn code_action_resolve(&self) -> bool[src]

pub fn signature_help_label_offsets(&self) -> bool[src]

pub fn code_action_group(&self) -> bool[src]

pub fn hover_actions(&self) -> bool[src]

pub fn status_notification(&self) -> bool[src]

pub fn publish_diagnostics(&self) -> bool[src]

pub fn diagnostics(&self) -> DiagnosticsConfig[src]

pub fn diagnostics_map(&self) -> DiagnosticsMapConfig[src]

pub fn lru_capacity(&self) -> Option<usize>[src]

pub fn proc_macro_srv(&self) -> Option<(PathBuf, Vec<OsString>)>[src]

pub fn files(&self) -> FilesConfig[src]

pub fn notifications(&self) -> NotificationsConfig[src]

pub fn cargo_autoreload(&self) -> bool[src]

pub fn load_out_dirs_from_check(&self) -> bool[src]

pub fn cargo(&self) -> CargoConfig[src]

pub fn rustfmt(&self) -> RustfmtConfig[src]

pub fn flycheck(&self) -> Option<FlycheckConfig>[src]

pub fn runnables(&self) -> RunnablesConfig[src]

pub fn inlay_hints(&self) -> InlayHintsConfig[src]

pub fn completion(&self) -> CompletionConfig[src]

pub fn assist(&self) -> AssistConfig[src]

pub fn call_info_full(&self) -> bool[src]

pub fn lens(&self) -> LensConfig[src]

pub fn hover(&self) -> HoverConfig[src]

pub fn semantic_tokens_refresh(&self) -> bool[src]

pub fn code_lens_refresh(&self) -> bool[src]

Trait Implementations

impl Clone for Config[src]

impl Debug for Config[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Cast for T

impl<T> CloneAny for T where
    T: Clone + Any

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.