pub struct ServerInitConfig {
pub server_config: LspServerConfig,
pub workspace_roots: Vec<PathBuf>,
pub initialization_options: Option<Value>,
}Expand description
Configuration for LSP server initialization.
Fields§
§server_config: LspServerConfigLSP server configuration.
workspace_roots: Vec<PathBuf>Workspace root paths.
initialization_options: Option<Value>Initialization options (server-specific JSON).
Trait Implementations§
Source§impl Clone for ServerInitConfig
impl Clone for ServerInitConfig
Source§fn clone(&self) -> ServerInitConfig
fn clone(&self) -> ServerInitConfig
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 moreAuto Trait Implementations§
impl Freeze for ServerInitConfig
impl RefUnwindSafe for ServerInitConfig
impl Send for ServerInitConfig
impl Sync for ServerInitConfig
impl Unpin for ServerInitConfig
impl UnwindSafe for ServerInitConfig
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