Struct tree_sitter::ffi::TSParseState
source · #[repr(C)]pub struct TSParseState {
pub payload: *mut c_void,
pub current_byte_offset: u32,
pub has_error: bool,
}
Fields§
§payload: *mut c_void
§current_byte_offset: u32
§has_error: bool
Trait Implementations§
source§impl Clone for TSParseState
impl Clone for TSParseState
source§fn clone(&self) -> TSParseState
fn clone(&self) -> TSParseState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TSParseState
impl Debug for TSParseState
impl Copy for TSParseState
Auto Trait Implementations§
impl RefUnwindSafe for TSParseState
impl !Send for TSParseState
impl !Sync for TSParseState
impl Unpin for TSParseState
impl UnwindSafe for TSParseState
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