AEGP_RenderSuite2

Struct AEGP_RenderSuite2 

Source
#[repr(C)]
pub struct AEGP_RenderSuite2 { pub AEGP_RenderAndCheckoutFrame: Option<unsafe extern "C" fn(optionsH: AEGP_RenderOptionsH, cancel_functionP0: AEGP_RenderSuiteCheckForCancelv1, cancel_function_refconP0: AEGP_CancelRefcon, receiptPH: *mut AEGP_FrameReceiptH) -> A_Err>, pub AEGP_CheckinFrame: Option<unsafe extern "C" fn(receiptH: AEGP_FrameReceiptH) -> A_Err>, pub AEGP_GetReceiptWorld: Option<unsafe extern "C" fn(receiptH: AEGP_FrameReceiptH, worldPH: *mut AEGP_WorldH) -> A_Err>, pub AEGP_GetRenderedRegion: Option<unsafe extern "C" fn(receiptH: AEGP_FrameReceiptH, rendered_regionP: *mut A_LRect) -> A_Err>, pub AEGP_IsRenderedFrameSufficient: Option<unsafe extern "C" fn(rendered_optionsH: AEGP_RenderOptionsH, proposed_optionsH: AEGP_RenderOptionsH, rendered_is_sufficientPB: *mut A_Boolean) -> A_Err>, pub AEGP_RenderNewItemSoundData: Option<unsafe extern "C" fn(itemH: AEGP_ItemH, start_timePT: *const A_Time, durationPT: *const A_Time, sound_formatP: *const AEGP_SoundDataFormat, cancel_functionP0: AEGP_RenderSuiteCheckForCancel, cancel_function_refconP0: AEGP_CancelRefcon, new_sound_dataPH: *mut AEGP_SoundDataH) -> A_Err>, pub AEGP_GetCurrentTimestamp: Option<unsafe extern "C" fn(time_stampP: *mut AEGP_TimeStamp) -> A_Err>, pub AEGP_HasItemChangedSinceTimestamp: Option<unsafe extern "C" fn(itemH: AEGP_ItemH, start_timeP: *const A_Time, durationP: *const A_Time, time_stampP: *const AEGP_TimeStamp, item_has_changedPB: *mut A_Boolean) -> A_Err>, pub AEGP_IsItemWorthwhileToRender: Option<unsafe extern "C" fn(roH: AEGP_RenderOptionsH, time_stampP: *const AEGP_TimeStamp, worthwhile_to_renderPB: *mut A_Boolean) -> A_Err>, pub AEGP_CheckinRenderedFrame: Option<unsafe extern "C" fn(roH: AEGP_RenderOptionsH, time_stampP: *const AEGP_TimeStamp, ticks_to_renderL: A_u_long, imageH: AEGP_PlatformWorldH) -> A_Err>, }

Fields§

§AEGP_RenderAndCheckoutFrame: Option<unsafe extern "C" fn(optionsH: AEGP_RenderOptionsH, cancel_functionP0: AEGP_RenderSuiteCheckForCancelv1, cancel_function_refconP0: AEGP_CancelRefcon, receiptPH: *mut AEGP_FrameReceiptH) -> A_Err>§AEGP_CheckinFrame: Option<unsafe extern "C" fn(receiptH: AEGP_FrameReceiptH) -> A_Err>§AEGP_GetReceiptWorld: Option<unsafe extern "C" fn(receiptH: AEGP_FrameReceiptH, worldPH: *mut AEGP_WorldH) -> A_Err>§AEGP_GetRenderedRegion: Option<unsafe extern "C" fn(receiptH: AEGP_FrameReceiptH, rendered_regionP: *mut A_LRect) -> A_Err>§AEGP_IsRenderedFrameSufficient: Option<unsafe extern "C" fn(rendered_optionsH: AEGP_RenderOptionsH, proposed_optionsH: AEGP_RenderOptionsH, rendered_is_sufficientPB: *mut A_Boolean) -> A_Err>§AEGP_RenderNewItemSoundData: Option<unsafe extern "C" fn(itemH: AEGP_ItemH, start_timePT: *const A_Time, durationPT: *const A_Time, sound_formatP: *const AEGP_SoundDataFormat, cancel_functionP0: AEGP_RenderSuiteCheckForCancel, cancel_function_refconP0: AEGP_CancelRefcon, new_sound_dataPH: *mut AEGP_SoundDataH) -> A_Err>§AEGP_GetCurrentTimestamp: Option<unsafe extern "C" fn(time_stampP: *mut AEGP_TimeStamp) -> A_Err>§AEGP_HasItemChangedSinceTimestamp: Option<unsafe extern "C" fn(itemH: AEGP_ItemH, start_timeP: *const A_Time, durationP: *const A_Time, time_stampP: *const AEGP_TimeStamp, item_has_changedPB: *mut A_Boolean) -> A_Err>§AEGP_IsItemWorthwhileToRender: Option<unsafe extern "C" fn(roH: AEGP_RenderOptionsH, time_stampP: *const AEGP_TimeStamp, worthwhile_to_renderPB: *mut A_Boolean) -> A_Err>§AEGP_CheckinRenderedFrame: Option<unsafe extern "C" fn(roH: AEGP_RenderOptionsH, time_stampP: *const AEGP_TimeStamp, ticks_to_renderL: A_u_long, imageH: AEGP_PlatformWorldH) -> A_Err>

Trait Implementations§

Source§

impl Clone for AEGP_RenderSuite2

Source§

fn clone(&self) -> AEGP_RenderSuite2

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_RenderSuite2

Source§

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

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

impl Copy for AEGP_RenderSuite2

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.