pub struct IFrnPlatformThreadingInterface { /* private fields */ }Implementations§
Source§impl IFrnPlatformThreadingInterface
impl IFrnPlatformThreadingInterface
Sourcepub fn from_impl<T: IFrnPlatformThreadingInterfaceImpl + 'static>(
value: T,
) -> ComPtr<IFrnPlatformThreadingInterface>
pub fn from_impl<T: IFrnPlatformThreadingInterfaceImpl + 'static>( value: T, ) -> ComPtr<IFrnPlatformThreadingInterface>
Wraps a Rust implementation into a COM object native code can call.
Sourcepub fn get_current_thread_is_loop_thread(&self) -> bool
pub fn get_current_thread_is_loop_thread(&self) -> bool
IFrnPlatformThreadingInterface::GetCurrentThreadIsLoopThread
Sourcepub fn set_events(&self, cb: Option<&IFrnPlatformThreadingInterfaceEvents>)
pub fn set_events(&self, cb: Option<&IFrnPlatformThreadingInterfaceEvents>)
IFrnPlatformThreadingInterface::SetEvents
Sourcepub fn create_loop_cancellation(&self) -> Option<ComPtr<IFrnLoopCancellation>>
pub fn create_loop_cancellation(&self) -> Option<ComPtr<IFrnLoopCancellation>>
IFrnPlatformThreadingInterface::CreateLoopCancellation
Sourcepub fn run_loop(&self, cancel: Option<&IFrnLoopCancellation>)
pub fn run_loop(&self, cancel: Option<&IFrnLoopCancellation>)
IFrnPlatformThreadingInterface::RunLoop
Sourcepub fn update_timer(&self, ms: i32)
pub fn update_timer(&self, ms: i32)
IFrnPlatformThreadingInterface::UpdateTimer
Sourcepub fn request_background_processing(&self)
pub fn request_background_processing(&self)
IFrnPlatformThreadingInterface::RequestBackgroundProcessing
Methods from Deref<Target = IUnknown>§
Trait Implementations§
Source§impl<T: IFrnPlatformThreadingInterfaceImpl> ImplementedBy<T> for IFrnPlatformThreadingInterface
impl<T: IFrnPlatformThreadingInterfaceImpl> ImplementedBy<T> for IFrnPlatformThreadingInterface
const VTBL: &'static IFrnPlatformThreadingInterfaceVtbl
Source§impl Interface for IFrnPlatformThreadingInterface
impl Interface for IFrnPlatformThreadingInterface
type Vtbl = IFrnPlatformThreadingInterfaceVtbl
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 IFrnPlatformThreadingInterface
impl !Sync for IFrnPlatformThreadingInterface
impl Freeze for IFrnPlatformThreadingInterface
impl RefUnwindSafe for IFrnPlatformThreadingInterface
impl Unpin for IFrnPlatformThreadingInterface
impl UnsafeUnpin for IFrnPlatformThreadingInterface
impl UnwindSafe for IFrnPlatformThreadingInterface
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