pub struct ProgrammingLanguageInfo {
pub name: Arc<str>,
pub treesitter_info: Option<TreeSitterLanguageInfo>,
}Expand description
Information about a programming language.
Fields§
§name: Arc<str>The main name of the language. It’s expected to be consistent with the language names listed at: https://github.com/Goldziher/tree-sitter-language-pack/tree/main?tab=readme-ov-file#available-languages
treesitter_info: Option<TreeSitterLanguageInfo>Optional tree-sitter language info for syntax-aware parsing.
Auto Trait Implementations§
impl Freeze for ProgrammingLanguageInfo
impl RefUnwindSafe for ProgrammingLanguageInfo
impl Send for ProgrammingLanguageInfo
impl Sync for ProgrammingLanguageInfo
impl Unpin for ProgrammingLanguageInfo
impl UnsafeUnpin for ProgrammingLanguageInfo
impl UnwindSafe for ProgrammingLanguageInfo
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