pub struct LspServerInfo {
pub language: Language,
pub server_name: &'static str,
pub binary_name: &'static str,
pub install_command: &'static str,
pub check_command: &'static str,
pub default_args: &'static [&'static str],
pub init_options_json: &'static str,
}Fields§
§language: Language§server_name: &'static str§binary_name: &'static str§install_command: &'static str§check_command: &'static str§default_args: &'static [&'static str]§init_options_json: &'static strAuto Trait Implementations§
impl Freeze for LspServerInfo
impl RefUnwindSafe for LspServerInfo
impl Send for LspServerInfo
impl Sync for LspServerInfo
impl Unpin for LspServerInfo
impl UnsafeUnpin for LspServerInfo
impl UnwindSafe for LspServerInfo
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more