Struct PixelflowFrameExecutorV2
#[repr(C)]pub struct PixelflowFrameExecutorV2 {
pub size: u32,
pub version: u32,
pub executor: *mut c_void,
pub prepare: Option<unsafe extern "C" fn(*mut c_void, *const c_void, *mut c_void) -> PixelflowStatus>,
pub commit: Option<unsafe extern "C" fn(*mut c_void, usize, *const c_void, *mut c_void) -> PixelflowStatus>,
pub destroy: Option<unsafe extern "C" fn(*mut c_void)>,
pub reserved: [usize; 4],
}Expand description
Plugin-owned executor callback table.
Fields§
§size: u32Struct size in bytes.
version: u32ABI version used by this struct.
executor: *mut c_voidPlugin-owned executor pointer.
prepare: Option<unsafe extern "C" fn(*mut c_void, *const c_void, *mut c_void) -> PixelflowStatus>Prepare callback.
commit: Option<unsafe extern "C" fn(*mut c_void, usize, *const c_void, *mut c_void) -> PixelflowStatus>Commit callback.
destroy: Option<unsafe extern "C" fn(*mut c_void)>Destroy callback.
reserved: [usize; 4]Reserved fields for future compatible extension.
Trait Implementations§
§impl Clone for PixelflowFrameExecutorV2
impl Clone for PixelflowFrameExecutorV2
§fn clone(&self) -> PixelflowFrameExecutorV2
fn clone(&self) -> PixelflowFrameExecutorV2
Returns a duplicate 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 moreimpl Copy for PixelflowFrameExecutorV2
Auto Trait Implementations§
impl Freeze for PixelflowFrameExecutorV2
impl RefUnwindSafe for PixelflowFrameExecutorV2
impl !Send for PixelflowFrameExecutorV2
impl !Sync for PixelflowFrameExecutorV2
impl Unpin for PixelflowFrameExecutorV2
impl UnsafeUnpin for PixelflowFrameExecutorV2
impl UnwindSafe for PixelflowFrameExecutorV2
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