#[repr(C)]pub struct json_settings {
pub max_memory: c_ulong,
pub settings: c_int,
pub memory_alloc: Option<unsafe extern "C" fn(arg1: usize, zero: c_int, user_data: *mut c_void) -> *mut c_void>,
pub memory_free: Option<unsafe extern "C" fn(arg1: *mut c_void, user_data: *mut c_void)>,
pub user_data: *mut c_void,
pub value_extra: usize,
}Fields§
§max_memory: c_ulong§settings: c_int§memory_alloc: Option<unsafe extern "C" fn(arg1: usize, zero: c_int, user_data: *mut c_void) -> *mut c_void>§memory_free: Option<unsafe extern "C" fn(arg1: *mut c_void, user_data: *mut c_void)>§user_data: *mut c_void§value_extra: usizeTrait Implementations§
Source§impl Clone for json_settings
impl Clone for json_settings
Source§impl Debug for json_settings
impl Debug for json_settings
impl Copy for json_settings
Auto Trait Implementations§
impl Freeze for json_settings
impl RefUnwindSafe for json_settings
impl !Send for json_settings
impl !Sync for json_settings
impl Unpin for json_settings
impl UnwindSafe for json_settings
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