#[repr(C)]pub struct TSInput {
pub payload: *mut c_void,
pub read: Option<unsafe extern "C" fn(*mut c_void, u32, TSPoint, *mut u32) -> *const i8>,
pub encoding: u32,
pub decode: Option<unsafe extern "C" fn(*const u8, u32, *mut i32) -> u32>,
}Fields§
§payload: *mut c_void§read: Option<unsafe extern "C" fn(*mut c_void, u32, TSPoint, *mut u32) -> *const i8>§encoding: u32§decode: Option<unsafe extern "C" fn(*const u8, u32, *mut i32) -> u32>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