Struct ra_ap_rust_analyzer::config::Config [−][src]
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 location_link(&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
Auto Trait Implementations
impl RefUnwindSafe for Config
[src]
impl Send for Config
[src]
impl Sync for Config
[src]
impl Unpin for Config
[src]
impl UnwindSafe for Config
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Cast for T
pub fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
Self: CastTo<U>,
U: HasInterner,
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,