[][src]Struct emacs_module::emacs_env_25

#[repr(C)]
pub struct emacs_env_25 {
    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

impl Clone for emacs_env_25[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for emacs_env_25[src]

impl Debug for emacs_env_25[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]