Skip to main content

IFrnTopLevelVtbl

Struct IFrnTopLevelVtbl 

Source
#[repr(C)]
pub struct IFrnTopLevelVtbl {
Show 17 fields pub base: IUnknownVtbl, pub GetClientSize: unsafe extern "system" fn(this: *mut c_void, ret: *mut FrnSize) -> RawHResult, pub GetScaling: unsafe extern "system" fn(this: *mut c_void, ret: *mut f64) -> RawHResult, pub Invalidate: unsafe extern "system" fn(this: *mut c_void) -> RawHResult, pub PointToClient: unsafe extern "system" fn(this: *mut c_void, point: FrnPoint, ret: *mut FrnPoint) -> RawHResult, pub PointToScreen: unsafe extern "system" fn(this: *mut c_void, point: FrnPoint, ret: *mut FrnPoint) -> RawHResult, pub SetCursor: unsafe extern "system" fn(this: *mut c_void, cursor: *mut IFrnCursor) -> RawHResult, pub CreateGlRenderTarget: unsafe extern "system" fn(this: *mut c_void, context: *mut IFrnGlContext, ret: *mut *mut IFrnGlSurfaceRenderTarget) -> RawHResult, pub CreateSoftwareRenderTarget: unsafe extern "system" fn(this: *mut c_void, ret: *mut *mut IFrnSoftwareRenderTarget) -> RawHResult, pub CreateMetalRenderTarget: unsafe extern "system" fn(this: *mut c_void, device: *mut IFrnMetalDevice, ret: *mut *mut IFrnMetalRenderTarget) -> RawHResult, pub ObtainNSViewHandle: unsafe extern "system" fn(this: *mut c_void, ret_out: *mut *mut c_void) -> RawHResult, pub ObtainNSViewHandleRetained: unsafe extern "system" fn(this: *mut c_void, ret_out: *mut *mut c_void) -> RawHResult, pub CreateNativeControlHost: unsafe extern "system" fn(this: *mut c_void, ret_out: *mut *mut IFrnNativeControlHost) -> RawHResult, pub GetInputMethod: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnTextInputMethod) -> RawHResult, pub SetTransparencyMode: unsafe extern "system" fn(this: *mut c_void, mode: FrnWindowTransparencyMode) -> RawHResult, pub GetCurrentDisplayId: unsafe extern "system" fn(this: *mut c_void, ret: *mut u32) -> RawHResult, pub BeginDragAndDropOperation: unsafe extern "system" fn(this: *mut c_void, effects: FrnDragDropEffects, point: FrnPoint, source: *mut IFrnClipboardDataSource, callback: *mut IFrnDndResultCallback, source_handle: *mut c_void) -> RawHResult,
}

Fields§

§base: IUnknownVtbl§GetClientSize: unsafe extern "system" fn(this: *mut c_void, ret: *mut FrnSize) -> RawHResult§GetScaling: unsafe extern "system" fn(this: *mut c_void, ret: *mut f64) -> RawHResult§Invalidate: unsafe extern "system" fn(this: *mut c_void) -> RawHResult§PointToClient: unsafe extern "system" fn(this: *mut c_void, point: FrnPoint, ret: *mut FrnPoint) -> RawHResult§PointToScreen: unsafe extern "system" fn(this: *mut c_void, point: FrnPoint, ret: *mut FrnPoint) -> RawHResult§SetCursor: unsafe extern "system" fn(this: *mut c_void, cursor: *mut IFrnCursor) -> RawHResult§CreateGlRenderTarget: unsafe extern "system" fn(this: *mut c_void, context: *mut IFrnGlContext, ret: *mut *mut IFrnGlSurfaceRenderTarget) -> RawHResult§CreateSoftwareRenderTarget: unsafe extern "system" fn(this: *mut c_void, ret: *mut *mut IFrnSoftwareRenderTarget) -> RawHResult§CreateMetalRenderTarget: unsafe extern "system" fn(this: *mut c_void, device: *mut IFrnMetalDevice, ret: *mut *mut IFrnMetalRenderTarget) -> RawHResult§ObtainNSViewHandle: unsafe extern "system" fn(this: *mut c_void, ret_out: *mut *mut c_void) -> RawHResult§ObtainNSViewHandleRetained: unsafe extern "system" fn(this: *mut c_void, ret_out: *mut *mut c_void) -> RawHResult§CreateNativeControlHost: unsafe extern "system" fn(this: *mut c_void, ret_out: *mut *mut IFrnNativeControlHost) -> RawHResult§GetInputMethod: unsafe extern "system" fn(this: *mut c_void, ppv: *mut *mut IFrnTextInputMethod) -> RawHResult§SetTransparencyMode: unsafe extern "system" fn(this: *mut c_void, mode: FrnWindowTransparencyMode) -> RawHResult§GetCurrentDisplayId: unsafe extern "system" fn(this: *mut c_void, ret: *mut u32) -> RawHResult§BeginDragAndDropOperation: unsafe extern "system" fn(this: *mut c_void, effects: FrnDragDropEffects, point: FrnPoint, source: *mut IFrnClipboardDataSource, callback: *mut IFrnDndResultCallback, source_handle: *mut c_void) -> RawHResult

Implementations§

Source§

impl IFrnTopLevelVtbl

Source

pub const fn new<I: Interface, T: IFrnTopLevelImpl>() -> 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.