#[repr(C)]pub struct tm_json_api {
pub parse: Option<unsafe extern "C" fn(*const i8, *mut tm_config_i, i32, *mut i8) -> bool>,
pub parse_with_line_info: Option<unsafe extern "C" fn(*const i8, *mut tm_config_i, i32, *mut tm_temp_allocator_i) -> *mut tm_json_parse_info_t>,
pub line_number: Option<unsafe extern "C" fn(*const tm_json_parse_info_t, *const tm_config_item_t) -> u32>,
pub generate: Option<unsafe extern "C" fn(*mut tm_config_i, i32, *mut tm_temp_allocator_i) -> tm_json_generate_t>,
}Fields§
§parse: Option<unsafe extern "C" fn(*const i8, *mut tm_config_i, i32, *mut i8) -> bool>§parse_with_line_info: Option<unsafe extern "C" fn(*const i8, *mut tm_config_i, i32, *mut tm_temp_allocator_i) -> *mut tm_json_parse_info_t>§line_number: Option<unsafe extern "C" fn(*const tm_json_parse_info_t, *const tm_config_item_t) -> u32>§generate: Option<unsafe extern "C" fn(*mut tm_config_i, i32, *mut tm_temp_allocator_i) -> tm_json_generate_t>Trait Implementations§
Source§impl Clone for tm_json_api
impl Clone for tm_json_api
Source§fn clone(&self) -> tm_json_api
fn clone(&self) -> tm_json_api
Returns a duplicate 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 moreimpl Copy for tm_json_api
Auto Trait Implementations§
impl Freeze for tm_json_api
impl RefUnwindSafe for tm_json_api
impl Send for tm_json_api
impl Sync for tm_json_api
impl Unpin for tm_json_api
impl UnwindSafe for tm_json_api
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