Struct PixelflowFilterDescriptorV2
#[repr(C)]pub struct PixelflowFilterDescriptorV2 {
pub size: u32,
pub version: u32,
pub name: PixelflowStringView,
pub publisher: PixelflowStringView,
pub plugin: PixelflowStringView,
pub planner: Option<unsafe extern "C" fn(*mut c_void, *const c_void, *mut c_void) -> PixelflowStatus>,
pub executor_factory: Option<unsafe extern "C" fn(*mut c_void, *const c_void, *mut PixelflowFrameExecutorV2) -> PixelflowStatus>,
pub user_data: *mut c_void,
pub destroy_user_data: Option<unsafe extern "C" fn(*mut c_void)>,
pub reserved: [usize; 4],
}Expand description
C-compatible filter descriptor.
Fields§
§size: u32Struct size in bytes.
version: u32ABI version used by this struct.
name: PixelflowStringViewStable filter name.
publisher: PixelflowStringViewPublisher namespace.
plugin: PixelflowStringViewPlugin namespace.
planner: Option<unsafe extern "C" fn(*mut c_void, *const c_void, *mut c_void) -> PixelflowStatus>Optional planner callback.
executor_factory: Option<unsafe extern "C" fn(*mut c_void, *const c_void, *mut PixelflowFrameExecutorV2) -> PixelflowStatus>Optional executor factory callback.
user_data: *mut c_voidPlugin-owned callback user data.
destroy_user_data: Option<unsafe extern "C" fn(*mut c_void)>Optional callback user-data destructor.
reserved: [usize; 4]Reserved fields for future compatible extension.
Trait Implementations§
§impl Clone for PixelflowFilterDescriptorV2
impl Clone for PixelflowFilterDescriptorV2
§fn clone(&self) -> PixelflowFilterDescriptorV2
fn clone(&self) -> PixelflowFilterDescriptorV2
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 more§impl Debug for PixelflowFilterDescriptorV2
impl Debug for PixelflowFilterDescriptorV2
impl Copy for PixelflowFilterDescriptorV2
Auto Trait Implementations§
impl Freeze for PixelflowFilterDescriptorV2
impl RefUnwindSafe for PixelflowFilterDescriptorV2
impl !Send for PixelflowFilterDescriptorV2
impl !Sync for PixelflowFilterDescriptorV2
impl Unpin for PixelflowFilterDescriptorV2
impl UnsafeUnpin for PixelflowFilterDescriptorV2
impl UnwindSafe for PixelflowFilterDescriptorV2
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