Struct PixelflowPluginApiV2
#[repr(C)]pub struct PixelflowPluginApiV2 {
pub size: u32,
pub version: u32,
pub plugin_name: unsafe extern "C" fn() -> PixelflowStringView,
pub register: unsafe extern "C" fn(*const PixelflowHostApiV2, *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 PixelflowHostApiV2, *mut PixelflowRegistrar) -> PixelflowStatusRegisters plugin capabilities with host.
reserved: [usize; 5]Reserved fields for future compatible extension.
Trait Implementations§
§impl Clone for PixelflowPluginApiV2
impl Clone for PixelflowPluginApiV2
§fn clone(&self) -> PixelflowPluginApiV2
fn clone(&self) -> PixelflowPluginApiV2
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 PixelflowPluginApiV2
Auto Trait Implementations§
impl Freeze for PixelflowPluginApiV2
impl RefUnwindSafe for PixelflowPluginApiV2
impl Send for PixelflowPluginApiV2
impl Sync for PixelflowPluginApiV2
impl Unpin for PixelflowPluginApiV2
impl UnsafeUnpin for PixelflowPluginApiV2
impl UnwindSafe for PixelflowPluginApiV2
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