Struct gravity::json_settings
[−]
[src]
#[repr(C)]pub struct json_settings { pub max_memory: c_ulong, pub settings: c_int, pub memory_alloc: Option<unsafe extern "C" fn(_: usize, _: c_int, _: *mut c_void) -> *mut c_void>, pub memory_free: Option<unsafe extern "C" fn(_: *mut c_void, _: *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(_: usize, _: c_int, _: *mut c_void) -> *mut c_void>
memory_free: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void)>
user_data: *mut c_void
value_extra: usize
Trait Implementations
impl Debug for json_settings
[src]
impl Copy for json_settings
[src]
impl Clone for json_settings
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more