Struct emacs_module::emacs_env_25[][src]

#[repr(C)]
pub struct emacs_env_25 {
Show 29 fields pub size: isize, pub private_members: *mut emacs_env_private, pub make_global_ref: Option<unsafe extern "C" fn(env: *mut emacs_env, any_reference: emacs_value) -> emacs_value>, pub free_global_ref: Option<unsafe extern "C" fn(env: *mut emacs_env, global_reference: emacs_value)>, pub non_local_exit_check: Option<unsafe extern "C" fn(env: *mut emacs_env) -> emacs_funcall_exit>, pub non_local_exit_clear: Option<unsafe extern "C" fn(env: *mut emacs_env)>, pub non_local_exit_get: Option<unsafe extern "C" fn(env: *mut emacs_env, non_local_exit_symbol_out: *mut emacs_value, non_local_exit_data_out: *mut emacs_value) -> emacs_funcall_exit>, pub non_local_exit_signal: Option<unsafe extern "C" fn(env: *mut emacs_env, non_local_exit_symbol: emacs_value, non_local_exit_data: emacs_value)>, pub non_local_exit_throw: Option<unsafe extern "C" fn(env: *mut emacs_env, tag: emacs_value, value: emacs_value)>, pub make_function: Option<unsafe extern "C" fn(env: *mut emacs_env, min_arity: isize, max_arity: isize, function: Option<unsafe extern "C" fn(env: *mut emacs_env, nargs: isize, args: *mut emacs_value, arg1: *mut c_void) -> emacs_value>, documentation: *const c_char, data: *mut c_void) -> emacs_value>, pub funcall: Option<unsafe extern "C" fn(env: *mut emacs_env, function: emacs_value, nargs: isize, args: *mut emacs_value) -> emacs_value>, pub intern: Option<unsafe extern "C" fn(env: *mut emacs_env, symbol_name: *const c_char) -> emacs_value>, pub type_of: Option<unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value) -> emacs_value>, pub is_not_nil: Option<unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value) -> bool>, pub eq: Option<unsafe extern "C" fn(env: *mut emacs_env, a: emacs_value, b: emacs_value) -> bool>, pub extract_integer: Option<unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value) -> intmax_t>, pub make_integer: Option<unsafe extern "C" fn(env: *mut emacs_env, value: intmax_t) -> emacs_value>, pub extract_float: Option<unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value) -> f64>, pub make_float: Option<unsafe extern "C" fn(env: *mut emacs_env, value: f64) -> emacs_value>, pub copy_string_contents: Option<unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value, buffer: *mut c_char, size_inout: *mut isize) -> bool>, pub make_string: Option<unsafe extern "C" fn(env: *mut emacs_env, contents: *const c_char, length: isize) -> emacs_value>, pub make_user_ptr: Option<unsafe extern "C" fn(env: *mut emacs_env, fin: emacs_finalizer_function, ptr: *mut c_void) -> emacs_value>, pub get_user_ptr: Option<unsafe extern "C" fn(env: *mut emacs_env, uptr: emacs_value) -> *mut c_void>, pub set_user_ptr: Option<unsafe extern "C" fn(env: *mut emacs_env, uptr: emacs_value, ptr: *mut c_void)>, pub get_user_finalizer: Option<unsafe extern "C" fn(env: *mut emacs_env, uptr: emacs_value) -> emacs_finalizer_function>, pub set_user_finalizer: Option<unsafe extern "C" fn(env: *mut emacs_env, uptr: emacs_value, fin: emacs_finalizer_function)>, pub vec_get: Option<unsafe extern "C" fn(env: *mut emacs_env, vec: emacs_value, i: isize) -> emacs_value>, pub vec_set: Option<unsafe extern "C" fn(env: *mut emacs_env, vec: emacs_value, i: isize, val: emacs_value)>, pub vec_size: Option<unsafe extern "C" fn(env: *mut emacs_env, vec: emacs_value) -> isize>,
}

Fields

size: isizeprivate_members: *mut emacs_env_privatemake_global_ref: Option<unsafe extern "C" fn(env: *mut emacs_env, any_reference: emacs_value) -> emacs_value>free_global_ref: Option<unsafe extern "C" fn(env: *mut emacs_env, global_reference: emacs_value)>non_local_exit_check: Option<unsafe extern "C" fn(env: *mut emacs_env) -> emacs_funcall_exit>non_local_exit_clear: Option<unsafe extern "C" fn(env: *mut emacs_env)>non_local_exit_get: Option<unsafe extern "C" fn(env: *mut emacs_env, non_local_exit_symbol_out: *mut emacs_value, non_local_exit_data_out: *mut emacs_value) -> emacs_funcall_exit>non_local_exit_signal: Option<unsafe extern "C" fn(env: *mut emacs_env, non_local_exit_symbol: emacs_value, non_local_exit_data: emacs_value)>non_local_exit_throw: Option<unsafe extern "C" fn(env: *mut emacs_env, tag: emacs_value, value: emacs_value)>make_function: Option<unsafe extern "C" fn(env: *mut emacs_env, min_arity: isize, max_arity: isize, function: Option<unsafe extern "C" fn(env: *mut emacs_env, nargs: isize, args: *mut emacs_value, arg1: *mut c_void) -> emacs_value>, documentation: *const c_char, data: *mut c_void) -> emacs_value>funcall: Option<unsafe extern "C" fn(env: *mut emacs_env, function: emacs_value, nargs: isize, args: *mut emacs_value) -> emacs_value>intern: Option<unsafe extern "C" fn(env: *mut emacs_env, symbol_name: *const c_char) -> emacs_value>type_of: Option<unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value) -> emacs_value>is_not_nil: Option<unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value) -> bool>eq: Option<unsafe extern "C" fn(env: *mut emacs_env, a: emacs_value, b: emacs_value) -> bool>extract_integer: Option<unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value) -> intmax_t>make_integer: Option<unsafe extern "C" fn(env: *mut emacs_env, value: intmax_t) -> emacs_value>extract_float: Option<unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value) -> f64>make_float: Option<unsafe extern "C" fn(env: *mut emacs_env, value: f64) -> emacs_value>copy_string_contents: Option<unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value, buffer: *mut c_char, size_inout: *mut isize) -> bool>make_string: Option<unsafe extern "C" fn(env: *mut emacs_env, contents: *const c_char, length: isize) -> emacs_value>make_user_ptr: Option<unsafe extern "C" fn(env: *mut emacs_env, fin: emacs_finalizer_function, ptr: *mut c_void) -> emacs_value>get_user_ptr: Option<unsafe extern "C" fn(env: *mut emacs_env, uptr: emacs_value) -> *mut c_void>set_user_ptr: Option<unsafe extern "C" fn(env: *mut emacs_env, uptr: emacs_value, ptr: *mut c_void)>get_user_finalizer: Option<unsafe extern "C" fn(env: *mut emacs_env, uptr: emacs_value) -> emacs_finalizer_function>set_user_finalizer: Option<unsafe extern "C" fn(env: *mut emacs_env, uptr: emacs_value, fin: emacs_finalizer_function)>vec_get: Option<unsafe extern "C" fn(env: *mut emacs_env, vec: emacs_value, i: isize) -> emacs_value>vec_set: Option<unsafe extern "C" fn(env: *mut emacs_env, vec: emacs_value, i: isize, val: emacs_value)>vec_size: Option<unsafe extern "C" fn(env: *mut emacs_env, vec: emacs_value) -> isize>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.