Enum tree_sitter_highlight::c_lib::ErrorCode
source · #[repr(C)]pub enum ErrorCode {
Ok = 0,
UnknownScope = 1,
Timeout = 2,
InvalidLanguage = 3,
InvalidUtf8 = 4,
InvalidRegex = 5,
InvalidQuery = 6,
InvalidLanguageName = 7,
}
Variants§
Ok = 0
UnknownScope = 1
Timeout = 2
InvalidLanguage = 3
InvalidUtf8 = 4
InvalidRegex = 5
InvalidQuery = 6
InvalidLanguageName = 7
Auto Trait Implementations§
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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