#[repr(C)]pub struct AEGP_ComputeCacheCallbacks {
pub generate_key: Option<unsafe extern "C" fn(optionsP: AEGP_CCComputeOptionsRefconP, out_keyP: AEGP_CCComputeKeyP) -> A_Err>,
pub compute: Option<unsafe extern "C" fn(optionsP: AEGP_CCComputeOptionsRefconP, out_valuePP: *mut AEGP_CCComputeValueRefconP) -> A_Err>,
pub approx_size_value: Option<unsafe extern "C" fn(valueP: AEGP_CCComputeValueRefconP) -> usize>,
pub delete_compute_value: Option<unsafe extern "C" fn(valueP: AEGP_CCComputeValueRefconP)>,
}Fields§
§generate_key: Option<unsafe extern "C" fn(optionsP: AEGP_CCComputeOptionsRefconP, out_keyP: AEGP_CCComputeKeyP) -> A_Err>§compute: Option<unsafe extern "C" fn(optionsP: AEGP_CCComputeOptionsRefconP, out_valuePP: *mut AEGP_CCComputeValueRefconP) -> A_Err>§approx_size_value: Option<unsafe extern "C" fn(valueP: AEGP_CCComputeValueRefconP) -> usize>§delete_compute_value: Option<unsafe extern "C" fn(valueP: AEGP_CCComputeValueRefconP)>Trait Implementations§
Source§impl Clone for AEGP_ComputeCacheCallbacks
impl Clone for AEGP_ComputeCacheCallbacks
Source§fn clone(&self) -> AEGP_ComputeCacheCallbacks
fn clone(&self) -> AEGP_ComputeCacheCallbacks
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AEGP_ComputeCacheCallbacks
Auto Trait Implementations§
impl Freeze for AEGP_ComputeCacheCallbacks
impl RefUnwindSafe for AEGP_ComputeCacheCallbacks
impl Send for AEGP_ComputeCacheCallbacks
impl Sync for AEGP_ComputeCacheCallbacks
impl Unpin for AEGP_ComputeCacheCallbacks
impl UnsafeUnpin for AEGP_ComputeCacheCallbacks
impl UnwindSafe for AEGP_ComputeCacheCallbacks
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