Struct IHostCrst_Vtbl
#[repr(C)]pub struct IHostCrst_Vtbl {
pub base__: IUnknown_Vtbl,
pub Enter: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub Leave: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub TryEnter: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL) -> HRESULT,
pub SetSpinCount: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§Enter: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT
§Leave: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§TryEnter: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL) -> HRESULT
§SetSpinCount: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT
Implementations§
§impl IHostCrst_Vtbl
impl IHostCrst_Vtbl
pub const fn new<Identity: IHostCrst_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IHostCrst_Vtbl
impl RefUnwindSafe for IHostCrst_Vtbl
impl Send for IHostCrst_Vtbl
impl Sync for IHostCrst_Vtbl
impl Unpin for IHostCrst_Vtbl
impl UnwindSafe for IHostCrst_Vtbl
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