pub struct Workspace { /* private fields */ }Expand description
One LSP workspace folder plus optional Shuck settings.
Implementations§
Source§impl Workspace
impl Workspace
Sourcepub fn default(url: Url) -> Self
pub fn default(url: Url) -> Self
Create the default workspace for clients without workspace-folder support.
Sourcepub fn with_options(self, options: ClientOptions) -> Self
pub fn with_options(self, options: ClientOptions) -> Self
Return a copy with workspace-specific client options.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Workspace
impl RefUnwindSafe for Workspace
impl Send for Workspace
impl Sync for Workspace
impl Unpin for Workspace
impl UnsafeUnpin for Workspace
impl UnwindSafe for Workspace
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