Skip to main content

IFerroNativeFactoryVtbl

Struct IFerroNativeFactoryVtbl 

Source
#[repr(C)]
pub struct IFerroNativeFactoryVtbl {
Show 26 fields pub base: IUnknownVtbl, pub Initialize: unsafe extern "system" fn(this: *mut c_void, deallocator: *mut IFrnGCHandleDeallocatorCallback, app_cb: *mut IFrnApplicationEvents, dispatcher: *mut IFrnDispatcher) -> RawHResult, pub GetMacOptions: unsafe extern "system" fn(this: *mut c_void) -> *mut IFrnMacOptions, pub CreateTopLevel: unsafe extern "system" fn(this: *mut c_void, cb: *mut IFrnTopLevelEvents, ppv: *mut *mut IFrnTopLevel) -> RawHResult, pub CreateWindow: unsafe extern "system" fn(this: *mut c_void, cb: *mut IFrnWindowEvents, ppv: *mut *mut IFrnWindow) -> RawHResult, pub CreatePopup: unsafe extern "system" fn(this: *mut c_void, cb: *mut IFrnWindowEvents, ppv: *mut *mut IFrnPopup) -> RawHResult, pub CreatePlatformThreadingInterface: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnPlatformThreadingInterface) -> RawHResult, pub CreateStorageProvider: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnStorageProvider) -> RawHResult, pub CreateScreens: unsafe extern "system" fn(this: *mut c_void, cb: *mut IFrnScreenEvents, ppv: *mut *mut IFrnScreens) -> RawHResult, pub CreateClipboard: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnClipboard) -> RawHResult, pub CreateCursorFactory: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnCursorFactory) -> RawHResult, pub ObtainGlDisplay: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnGlDisplay) -> RawHResult, pub ObtainMetalDisplay: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnMetalDisplay) -> RawHResult, pub SetAppMenu: unsafe extern "system" fn(this: *mut c_void, menu: *mut IFrnMenu) -> RawHResult, pub SetServicesMenu: unsafe extern "system" fn(this: *mut c_void, menu: *mut IFrnMenu) -> RawHResult, pub CreateMenu: unsafe extern "system" fn(this: *mut c_void, cb: *mut IFrnMenuEvents, ppv: *mut *mut IFrnMenu) -> RawHResult, pub CreateMenuItem: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnMenuItem) -> RawHResult, pub CreateMenuItemSeparator: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnMenuItem) -> RawHResult, pub CreateTrayIcon: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnTrayIcon) -> RawHResult, pub CreateApplicationCommands: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnApplicationCommands) -> RawHResult, pub CreatePlatformSettings: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnPlatformSettings) -> RawHResult, pub CreatePlatformBehaviorInhibition: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnPlatformBehaviorInhibition) -> RawHResult, pub CreatePlatformRenderTimer: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnPlatformRenderTimer) -> RawHResult, pub ImportMTLSharedEvent: unsafe extern "system" fn(this: *mut c_void, id_mtl_shared_event: *mut c_void, ppv: *mut *mut IFrnMTLSharedEvent) -> RawHResult, pub CreateMemoryManagementHelper: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnNativeObjectsMemoryManagement) -> RawHResult, pub SetDockMenu: unsafe extern "system" fn(this: *mut c_void, menu: *mut IFrnMenu) -> RawHResult,
}

Fields§

§base: IUnknownVtbl§Initialize: unsafe extern "system" fn(this: *mut c_void, deallocator: *mut IFrnGCHandleDeallocatorCallback, app_cb: *mut IFrnApplicationEvents, dispatcher: *mut IFrnDispatcher) -> RawHResult§GetMacOptions: unsafe extern "system" fn(this: *mut c_void) -> *mut IFrnMacOptions§CreateTopLevel: unsafe extern "system" fn(this: *mut c_void, cb: *mut IFrnTopLevelEvents, ppv: *mut *mut IFrnTopLevel) -> RawHResult§CreateWindow: unsafe extern "system" fn(this: *mut c_void, cb: *mut IFrnWindowEvents, ppv: *mut *mut IFrnWindow) -> RawHResult§CreatePopup: unsafe extern "system" fn(this: *mut c_void, cb: *mut IFrnWindowEvents, ppv: *mut *mut IFrnPopup) -> RawHResult§CreatePlatformThreadingInterface: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnPlatformThreadingInterface) -> RawHResult§CreateStorageProvider: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnStorageProvider) -> RawHResult§CreateScreens: unsafe extern "system" fn(this: *mut c_void, cb: *mut IFrnScreenEvents, ppv: *mut *mut IFrnScreens) -> RawHResult§CreateClipboard: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnClipboard) -> RawHResult§CreateCursorFactory: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnCursorFactory) -> RawHResult§ObtainGlDisplay: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnGlDisplay) -> RawHResult§ObtainMetalDisplay: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnMetalDisplay) -> RawHResult§SetAppMenu: unsafe extern "system" fn(this: *mut c_void, menu: *mut IFrnMenu) -> RawHResult§SetServicesMenu: unsafe extern "system" fn(this: *mut c_void, menu: *mut IFrnMenu) -> RawHResult§CreateMenu: unsafe extern "system" fn(this: *mut c_void, cb: *mut IFrnMenuEvents, ppv: *mut *mut IFrnMenu) -> RawHResult§CreateMenuItem: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnMenuItem) -> RawHResult§CreateMenuItemSeparator: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnMenuItem) -> RawHResult§CreateTrayIcon: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnTrayIcon) -> RawHResult§CreateApplicationCommands: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnApplicationCommands) -> RawHResult§CreatePlatformSettings: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnPlatformSettings) -> RawHResult§CreatePlatformBehaviorInhibition: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnPlatformBehaviorInhibition) -> RawHResult§CreatePlatformRenderTimer: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnPlatformRenderTimer) -> RawHResult§ImportMTLSharedEvent: unsafe extern "system" fn(this: *mut c_void, id_mtl_shared_event: *mut c_void, ppv: *mut *mut IFrnMTLSharedEvent) -> RawHResult§CreateMemoryManagementHelper: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnNativeObjectsMemoryManagement) -> RawHResult§SetDockMenu: unsafe extern "system" fn(this: *mut c_void, menu: *mut IFrnMenu) -> RawHResult

Implementations§

Source§

impl IFerroNativeFactoryVtbl

Source

pub const fn new<I: Interface, T: IFerroNativeFactoryImpl>() -> Self

Vtable for a ComObject<T> whose most-derived interface is I.

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> ClassDefaults for T
where T: ?Sized,

Source§

fn static_constructor()

The static constructor of a type: work done once per thread, after the properties of the type are registered and before its first instance exists (class handlers, affects_render, metadata overrides). Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> IUnknownImpl for T
where T: ?Sized,

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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

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.