Struct tree_sitter_c2rust::ffi::TSInput
source · #[repr(C)]pub struct TSInput {
pub payload: *mut c_void,
pub read: Option<unsafe extern "C" fn(_: *mut c_void, _: c_uint, _: TSPoint, _: *mut c_uint) -> *const c_char>,
pub encoding: TSInputEncoding,
}
Fields§
§payload: *mut c_void
§read: Option<unsafe extern "C" fn(_: *mut c_void, _: c_uint, _: TSPoint, _: *mut c_uint) -> *const c_char>
§encoding: TSInputEncoding
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TSInput
impl RefUnwindSafe for TSInput
impl !Send for TSInput
impl !Sync for TSInput
impl Unpin for TSInput
impl UnwindSafe for TSInput
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> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)