#[repr(C)]pub struct externalAddressType {
pub name: *const c_char,
pub shortPrintFunction: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: *const c_char, arg3: *mut c_void)>,
pub longPrintFunction: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: *const c_char, arg3: *mut c_void)>,
pub discardFunction: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: *mut c_void) -> bool>,
pub newFunction: Option<unsafe extern "C" fn(arg1: *mut UDFContext, arg2: *mut UDFValue)>,
pub callFunction: Option<unsafe extern "C" fn(arg1: *mut UDFContext, arg2: *mut UDFValue, arg3: *mut UDFValue) -> bool>,
}Fields§
§name: *const c_char§shortPrintFunction: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: *const c_char, arg3: *mut c_void)>§longPrintFunction: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: *const c_char, arg3: *mut c_void)>§discardFunction: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: *mut c_void) -> bool>§newFunction: Option<unsafe extern "C" fn(arg1: *mut UDFContext, arg2: *mut UDFValue)>§callFunction: Option<unsafe extern "C" fn(arg1: *mut UDFContext, arg2: *mut UDFValue, arg3: *mut UDFValue) -> bool>Trait Implementations§
Source§impl Clone for externalAddressType
impl Clone for externalAddressType
Source§fn clone(&self) -> externalAddressType
fn clone(&self) -> externalAddressType
Returns a copy 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 moreSource§impl Debug for externalAddressType
impl Debug for externalAddressType
Source§impl Default for externalAddressType
impl Default for externalAddressType
impl Copy for externalAddressType
Auto Trait Implementations§
impl Freeze for externalAddressType
impl RefUnwindSafe for externalAddressType
impl !Send for externalAddressType
impl !Sync for externalAddressType
impl Unpin for externalAddressType
impl UnwindSafe for externalAddressType
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