#[repr(C)]pub struct PixelflowPluginApiV1 {
pub size: u32,
pub version: u32,
pub plugin_name: unsafe extern "C" fn() -> PixelflowStringView,
pub register: unsafe extern "C" fn(*const PixelflowHostApiV1, *mut PixelflowRegistrar) -> PixelflowStatus,
pub reserved: [usize; 5],
}Expand description
Plugin callback table filled by entry symbol.
Fields§
§size: u32Struct size in bytes.
version: u32ABI version used by this struct.
plugin_name: unsafe extern "C" fn() -> PixelflowStringViewReturns stable plugin name.
register: unsafe extern "C" fn(*const PixelflowHostApiV1, *mut PixelflowRegistrar) -> PixelflowStatusRegisters plugin capabilities with host.
reserved: [usize; 5]Reserved fields for future compatible extension.
Trait Implementations§
Source§impl Clone for PixelflowPluginApiV1
impl Clone for PixelflowPluginApiV1
Source§fn clone(&self) -> PixelflowPluginApiV1
fn clone(&self) -> PixelflowPluginApiV1
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 PixelflowPluginApiV1
Auto Trait Implementations§
impl Freeze for PixelflowPluginApiV1
impl RefUnwindSafe for PixelflowPluginApiV1
impl Send for PixelflowPluginApiV1
impl Sync for PixelflowPluginApiV1
impl Unpin for PixelflowPluginApiV1
impl UnsafeUnpin for PixelflowPluginApiV1
impl UnwindSafe for PixelflowPluginApiV1
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