st_WolframIOLibrary_Functions

Struct st_WolframIOLibrary_Functions 

Source
#[repr(C)]
pub struct st_WolframIOLibrary_Functions {
Show 38 fields pub createAsynchronousTaskWithoutThread: Option<unsafe extern "C" fn() -> mint>, pub createAsynchronousTaskWithThread: Option<unsafe extern "C" fn(asyncRunner: Option<unsafe extern "C" fn(asyncTaskID: mint, initData: *mut c_void)>, initData: *mut c_void) -> mint>, pub raiseAsyncEvent: Option<unsafe extern "C" fn(asyncTaskID: mint, eventType: *mut c_char, arg1: DataStore)>, pub asynchronousTaskAliveQ: Option<unsafe extern "C" fn(asyncTaskID: mint) -> mbool>, pub asynchronousTaskStartedQ: Option<unsafe extern "C" fn(asyncTaskID: mint) -> mbool>, pub createDataStore: Option<unsafe extern "C" fn() -> DataStore>, pub DataStore_addInteger: Option<unsafe extern "C" fn(arg1: DataStore, arg2: mint)>, pub DataStore_addReal: Option<unsafe extern "C" fn(arg1: DataStore, arg2: mreal)>, pub DataStore_addComplex: Option<unsafe extern "C" fn(arg1: DataStore, arg2: mcomplex)>, pub DataStore_addString: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char)>, pub DataStore_addMTensor: Option<unsafe extern "C" fn(arg1: DataStore, arg2: MTensor)>, pub DataStore_addMRawArray: Option<unsafe extern "C" fn(arg1: DataStore, arg2: MRawArray)>, pub DataStore_addMImage: Option<unsafe extern "C" fn(arg1: DataStore, arg2: MImage)>, pub DataStore_addDataStore: Option<unsafe extern "C" fn(arg1: DataStore, arg2: DataStore)>, pub DataStore_addNamedInteger: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: mint)>, pub DataStore_addNamedReal: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: mreal)>, pub DataStore_addNamedComplex: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: mcomplex)>, pub DataStore_addNamedString: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: *mut c_char)>, pub DataStore_addNamedMTensor: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: MTensor)>, pub DataStore_addNamedMRawArray: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: MRawArray)>, pub DataStore_addNamedMImage: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: MImage)>, pub DataStore_addNamedDataStore: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: DataStore)>, pub removeAsynchronousTask: Option<unsafe extern "C" fn(asyncTaskID: mint) -> mint>, pub deleteDataStore: Option<unsafe extern "C" fn(arg1: DataStore)>, pub copyDataStore: Option<unsafe extern "C" fn(arg1: DataStore) -> DataStore>, pub DataStore_getLength: Option<unsafe extern "C" fn(arg1: DataStore) -> mint>, pub DataStore_getFirstNode: Option<unsafe extern "C" fn(arg1: DataStore) -> DataStoreNode>, pub DataStore_getLastNode: Option<unsafe extern "C" fn(arg1: DataStore) -> DataStoreNode>, pub DataStoreNode_getNextNode: Option<unsafe extern "C" fn(arg1: DataStoreNode) -> DataStoreNode>, pub DataStoreNode_getDataType: Option<unsafe extern "C" fn(arg1: DataStoreNode) -> type_t>, pub DataStoreNode_getData: Option<unsafe extern "C" fn(arg1: DataStoreNode, arg2: *mut MArgument) -> errcode_t>, pub DataStoreNode_getName: Option<unsafe extern "C" fn(arg1: DataStoreNode, arg2: *mut *mut c_char) -> errcode_t>, pub DataStore_addBoolean: Option<unsafe extern "C" fn(arg1: DataStore, arg2: mbool)>, pub DataStore_addNamedBoolean: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: mbool)>, pub DataStore_addMNumericArray: Option<unsafe extern "C" fn(arg1: DataStore, arg2: MNumericArray)>, pub DataStore_addNamedMNumericArray: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: MNumericArray)>, pub DataStore_addMSparseArray: Option<unsafe extern "C" fn(arg1: DataStore, arg2: MSparseArray)>, pub DataStore_addNamedMSparseArray: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: MSparseArray)>,
}

Fields§

§createAsynchronousTaskWithoutThread: Option<unsafe extern "C" fn() -> mint>§createAsynchronousTaskWithThread: Option<unsafe extern "C" fn(asyncRunner: Option<unsafe extern "C" fn(asyncTaskID: mint, initData: *mut c_void)>, initData: *mut c_void) -> mint>§raiseAsyncEvent: Option<unsafe extern "C" fn(asyncTaskID: mint, eventType: *mut c_char, arg1: DataStore)>§asynchronousTaskAliveQ: Option<unsafe extern "C" fn(asyncTaskID: mint) -> mbool>§asynchronousTaskStartedQ: Option<unsafe extern "C" fn(asyncTaskID: mint) -> mbool>§createDataStore: Option<unsafe extern "C" fn() -> DataStore>§DataStore_addInteger: Option<unsafe extern "C" fn(arg1: DataStore, arg2: mint)>§DataStore_addReal: Option<unsafe extern "C" fn(arg1: DataStore, arg2: mreal)>§DataStore_addComplex: Option<unsafe extern "C" fn(arg1: DataStore, arg2: mcomplex)>§DataStore_addString: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char)>§DataStore_addMTensor: Option<unsafe extern "C" fn(arg1: DataStore, arg2: MTensor)>§DataStore_addMRawArray: Option<unsafe extern "C" fn(arg1: DataStore, arg2: MRawArray)>§DataStore_addMImage: Option<unsafe extern "C" fn(arg1: DataStore, arg2: MImage)>§DataStore_addDataStore: Option<unsafe extern "C" fn(arg1: DataStore, arg2: DataStore)>§DataStore_addNamedInteger: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: mint)>§DataStore_addNamedReal: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: mreal)>§DataStore_addNamedComplex: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: mcomplex)>§DataStore_addNamedString: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: *mut c_char)>§DataStore_addNamedMTensor: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: MTensor)>§DataStore_addNamedMRawArray: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: MRawArray)>§DataStore_addNamedMImage: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: MImage)>§DataStore_addNamedDataStore: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: DataStore)>§removeAsynchronousTask: Option<unsafe extern "C" fn(asyncTaskID: mint) -> mint>§deleteDataStore: Option<unsafe extern "C" fn(arg1: DataStore)>§copyDataStore: Option<unsafe extern "C" fn(arg1: DataStore) -> DataStore>§DataStore_getLength: Option<unsafe extern "C" fn(arg1: DataStore) -> mint>§DataStore_getFirstNode: Option<unsafe extern "C" fn(arg1: DataStore) -> DataStoreNode>§DataStore_getLastNode: Option<unsafe extern "C" fn(arg1: DataStore) -> DataStoreNode>§DataStoreNode_getNextNode: Option<unsafe extern "C" fn(arg1: DataStoreNode) -> DataStoreNode>§DataStoreNode_getDataType: Option<unsafe extern "C" fn(arg1: DataStoreNode) -> type_t>§DataStoreNode_getData: Option<unsafe extern "C" fn(arg1: DataStoreNode, arg2: *mut MArgument) -> errcode_t>§DataStoreNode_getName: Option<unsafe extern "C" fn(arg1: DataStoreNode, arg2: *mut *mut c_char) -> errcode_t>§DataStore_addBoolean: Option<unsafe extern "C" fn(arg1: DataStore, arg2: mbool)>§DataStore_addNamedBoolean: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: mbool)>§DataStore_addMNumericArray: Option<unsafe extern "C" fn(arg1: DataStore, arg2: MNumericArray)>§DataStore_addNamedMNumericArray: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: MNumericArray)>§DataStore_addMSparseArray: Option<unsafe extern "C" fn(arg1: DataStore, arg2: MSparseArray)>§DataStore_addNamedMSparseArray: Option<unsafe extern "C" fn(arg1: DataStore, arg2: *mut c_char, arg3: MSparseArray)>

Trait Implementations§

Source§

impl Clone for st_WolframIOLibrary_Functions

Source§

fn clone(&self) -> st_WolframIOLibrary_Functions

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for st_WolframIOLibrary_Functions

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for st_WolframIOLibrary_Functions

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.