pub struct IFrnGlDisplay { /* private fields */ }Implementations§
Source§impl IFrnGlDisplay
impl IFrnGlDisplay
Sourcepub fn from_impl<T: IFrnGlDisplayImpl + 'static>(
value: T,
) -> ComPtr<IFrnGlDisplay>
pub fn from_impl<T: IFrnGlDisplayImpl + 'static>( value: T, ) -> ComPtr<IFrnGlDisplay>
Wraps a Rust implementation into a COM object native code can call.
Sourcepub fn create_context(
&self,
share: Option<&IFrnGlContext>,
) -> Result<Option<ComPtr<IFrnGlContext>>, HResult>
pub fn create_context( &self, share: Option<&IFrnGlContext>, ) -> Result<Option<ComPtr<IFrnGlContext>>, HResult>
IFrnGlDisplay::CreateContext
Sourcepub fn legacy_clear_current_context(&self)
pub fn legacy_clear_current_context(&self)
IFrnGlDisplay::LegacyClearCurrentContext
Sourcepub unsafe fn wrap_context(
&self,
native: *mut c_void,
) -> Result<Option<ComPtr<IFrnGlContext>>, HResult>
pub unsafe fn wrap_context( &self, native: *mut c_void, ) -> Result<Option<ComPtr<IFrnGlContext>>, HResult>
Methods from Deref<Target = IUnknown>§
Trait Implementations§
Source§impl Deref for IFrnGlDisplay
impl Deref for IFrnGlDisplay
Source§impl<T: IFrnGlDisplayImpl> ImplementedBy<T> for IFrnGlDisplay
impl<T: IFrnGlDisplayImpl> ImplementedBy<T> for IFrnGlDisplay
const VTBL: &'static IFrnGlDisplayVtbl
Source§impl Interface for IFrnGlDisplay
impl Interface for IFrnGlDisplay
type Vtbl = IFrnGlDisplayVtbl
Source§fn matches_iid(iid: &Guid) -> bool
fn matches_iid(iid: &Guid) -> bool
true if iid names this interface or one of its bases (including
IUnknown). Both the IDL value and the value materialized by com.h
(see Guid::as_com_h_materialized) are accepted.fn as_unknown(&self) -> &IUnknown
fn as_raw(&self) -> *mut Self
Auto Trait Implementations§
impl !Send for IFrnGlDisplay
impl !Sync for IFrnGlDisplay
impl Freeze for IFrnGlDisplay
impl RefUnwindSafe for IFrnGlDisplay
impl Unpin for IFrnGlDisplay
impl UnsafeUnpin for IFrnGlDisplay
impl UnwindSafe for IFrnGlDisplay
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
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