Struct AEGP_PersistentDataSuite3

Source
#[repr(C)]
pub struct AEGP_PersistentDataSuite3 {
Show 18 fields pub AEGP_GetApplicationBlob: Option<unsafe extern "C" fn(blobPH: *mut AEGP_PersistentBlobH) -> A_Err>, pub AEGP_GetNumSections: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, num_sectionPL: *mut A_long) -> A_Err>, pub AEGP_GetSectionKeyByIndex: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_index: A_long, max_section_size: A_long, section_keyZ: *mut A_char) -> A_Err>, pub AEGP_DoesKeyExist: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, existsPB: *mut A_Boolean) -> A_Err>, pub AEGP_GetNumKeys: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, num_keysPL: *mut A_long) -> A_Err>, pub AEGP_GetValueKeyByIndex: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, key_index: A_long, max_key_size: A_long, value_keyZ: *mut A_char) -> A_Err>, pub AEGP_GetDataHandle: Option<unsafe extern "C" fn(plugin_id: AEGP_PluginID, blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, defaultH0: AEGP_MemHandle, valuePH: *mut AEGP_MemHandle) -> A_Err>, pub AEGP_GetData: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, data_sizeLu: A_u_long, defaultPV0: *const c_void, bufPV: *mut c_void) -> A_Err>, pub AEGP_GetString: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, defaultZ0: *const A_char, buf_sizeLu: A_u_long, bufZ: *mut A_char, actual_buf_sizeLu0: *mut A_u_long) -> A_Err>, pub AEGP_GetLong: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, defaultL: A_long, valuePL: *mut A_long) -> A_Err>, pub AEGP_GetFpLong: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, defaultF: A_FpLong, valuePF: *mut A_FpLong) -> A_Err>, pub AEGP_SetDataHandle: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, valueH: AEGP_MemHandle) -> A_Err>, pub AEGP_SetData: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, data_sizeLu: A_u_long, dataPV: *const c_void) -> A_Err>, pub AEGP_SetString: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, strZ: *const A_char) -> A_Err>, pub AEGP_SetLong: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, valueL: A_long) -> A_Err>, pub AEGP_SetFpLong: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, valueF: A_FpLong) -> A_Err>, pub AEGP_DeleteEntry: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char) -> A_Err>, pub AEGP_GetPrefsDirectory: Option<unsafe extern "C" fn(unicode_pathPH: *mut AEGP_MemHandle) -> A_Err>,
}

Fields§

§AEGP_GetApplicationBlob: Option<unsafe extern "C" fn(blobPH: *mut AEGP_PersistentBlobH) -> A_Err>§AEGP_GetNumSections: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, num_sectionPL: *mut A_long) -> A_Err>§AEGP_GetSectionKeyByIndex: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_index: A_long, max_section_size: A_long, section_keyZ: *mut A_char) -> A_Err>§AEGP_DoesKeyExist: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, existsPB: *mut A_Boolean) -> A_Err>§AEGP_GetNumKeys: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, num_keysPL: *mut A_long) -> A_Err>§AEGP_GetValueKeyByIndex: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, key_index: A_long, max_key_size: A_long, value_keyZ: *mut A_char) -> A_Err>§AEGP_GetDataHandle: Option<unsafe extern "C" fn(plugin_id: AEGP_PluginID, blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, defaultH0: AEGP_MemHandle, valuePH: *mut AEGP_MemHandle) -> A_Err>§AEGP_GetData: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, data_sizeLu: A_u_long, defaultPV0: *const c_void, bufPV: *mut c_void) -> A_Err>§AEGP_GetString: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, defaultZ0: *const A_char, buf_sizeLu: A_u_long, bufZ: *mut A_char, actual_buf_sizeLu0: *mut A_u_long) -> A_Err>§AEGP_GetLong: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, defaultL: A_long, valuePL: *mut A_long) -> A_Err>§AEGP_GetFpLong: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, defaultF: A_FpLong, valuePF: *mut A_FpLong) -> A_Err>§AEGP_SetDataHandle: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, valueH: AEGP_MemHandle) -> A_Err>§AEGP_SetData: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, data_sizeLu: A_u_long, dataPV: *const c_void) -> A_Err>§AEGP_SetString: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, strZ: *const A_char) -> A_Err>§AEGP_SetLong: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, valueL: A_long) -> A_Err>§AEGP_SetFpLong: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char, valueF: A_FpLong) -> A_Err>§AEGP_DeleteEntry: Option<unsafe extern "C" fn(blobH: AEGP_PersistentBlobH, section_keyZ: *const A_char, value_keyZ: *const A_char) -> A_Err>§AEGP_GetPrefsDirectory: Option<unsafe extern "C" fn(unicode_pathPH: *mut AEGP_MemHandle) -> A_Err>

Trait Implementations§

Source§

impl Clone for AEGP_PersistentDataSuite3

Source§

fn clone(&self) -> AEGP_PersistentDataSuite3

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 AEGP_PersistentDataSuite3

Source§

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

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

impl Copy for AEGP_PersistentDataSuite3

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.