pub struct LanguageMetadata {
pub id: LanguageId,
pub lsp_id: &'static str,
pub extensions: &'static [&'static str],
pub server: Option<&'static ServerSpec>,
}Fields§
§id: LanguageId§lsp_id: &'static str§extensions: &'static [&'static str]§server: Option<&'static ServerSpec>Trait Implementations§
Source§impl Clone for LanguageMetadata
impl Clone for LanguageMetadata
impl Copy for LanguageMetadata
Auto Trait Implementations§
impl Freeze for LanguageMetadata
impl RefUnwindSafe for LanguageMetadata
impl Send for LanguageMetadata
impl Sync for LanguageMetadata
impl Unpin for LanguageMetadata
impl UnsafeUnpin for LanguageMetadata
impl UnwindSafe for LanguageMetadata
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