pub struct IFrnMTLSharedEvent { /* private fields */ }Implementations§
Sourcepub fn from_impl<T: IFrnMTLSharedEventImpl + 'static>(
value: T,
) -> ComPtr<IFrnMTLSharedEvent>
pub fn from_impl<T: IFrnMTLSharedEventImpl + 'static>( value: T, ) -> ComPtr<IFrnMTLSharedEvent>
Wraps a Rust implementation into a COM object native code can call.
Sourcepub fn get_native_handle(&self) -> *mut c_void
pub fn get_native_handle(&self) -> *mut c_void
IFrnMTLSharedEvent::GetNativeHandle
Sourcepub fn set_signaled_value(&self, value: u64)
pub fn set_signaled_value(&self, value: u64)
IFrnMTLSharedEvent::SetSignaledValue
Sourcepub fn get_signaled_value(&self) -> u64
pub fn get_signaled_value(&self) -> u64
IFrnMTLSharedEvent::GetSignaledValue
Methods from Deref<Target = IUnknown>§
Trait Implementations§
const VTBL: &'static IFrnMTLSharedEventVtbl
type Vtbl = IFrnMTLSharedEventVtbl
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§
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