pub enum LspServersConfig {
File(String),
Inline(HashMap<String, LspServerEntry>),
}Expand description
LSP servers declared in plugin.json — either inline or a path.
Variants§
Trait Implementations§
Source§impl Clone for LspServersConfig
impl Clone for LspServersConfig
Source§fn clone(&self) -> LspServersConfig
fn clone(&self) -> LspServersConfig
Returns a duplicate 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 LspServersConfig
impl Debug for LspServersConfig
Source§impl<'de> Deserialize<'de> for LspServersConfig
impl<'de> Deserialize<'de> for LspServersConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LspServersConfig
impl RefUnwindSafe for LspServersConfig
impl Send for LspServersConfig
impl Sync for LspServersConfig
impl Unpin for LspServersConfig
impl UnsafeUnpin for LspServersConfig
impl UnwindSafe for LspServersConfig
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