#[repr(C)]pub struct IFrnPlatformBehaviorInhibitionVtbl {
pub base: IUnknownVtbl,
pub SetInhibitAppSleep: unsafe extern "system" fn(this: *mut c_void, inhibit_app_sleep: bool, reason: *mut c_char),
}Fields§
§base: IUnknownVtbl§SetInhibitAppSleep: unsafe extern "system" fn(this: *mut c_void, inhibit_app_sleep: bool, reason: *mut c_char)Implementations§
Source§impl IFrnPlatformBehaviorInhibitionVtbl
impl IFrnPlatformBehaviorInhibitionVtbl
Sourcepub const fn new<I: Interface, T: IFrnPlatformBehaviorInhibitionImpl>() -> Self
pub const fn new<I: Interface, T: IFrnPlatformBehaviorInhibitionImpl>() -> Self
Vtable for a ComObject<T> whose most-derived interface is I.
Auto Trait Implementations§
impl Freeze for IFrnPlatformBehaviorInhibitionVtbl
impl RefUnwindSafe for IFrnPlatformBehaviorInhibitionVtbl
impl Send for IFrnPlatformBehaviorInhibitionVtbl
impl Sync for IFrnPlatformBehaviorInhibitionVtbl
impl Unpin for IFrnPlatformBehaviorInhibitionVtbl
impl UnsafeUnpin for IFrnPlatformBehaviorInhibitionVtbl
impl UnwindSafe for IFrnPlatformBehaviorInhibitionVtbl
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