#[repr(C)]pub struct IComStaThreadPoolKnobs_Vtbl {
pub base__: IUnknown_Vtbl,
pub SetMinThreadCount: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub GetMinThreadCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub SetMaxThreadCount: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub GetMaxThreadCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub SetActivityPerThread: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub GetActivityPerThread: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub SetActivityRatio: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT,
pub GetActivityRatio: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT,
pub GetThreadCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub GetQueueDepth: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub SetQueueDepth: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§SetMinThreadCount: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT
§GetMinThreadCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§SetMaxThreadCount: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT
§GetMaxThreadCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§SetActivityPerThread: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT
§GetActivityPerThread: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§SetActivityRatio: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT
§GetActivityRatio: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT
§GetThreadCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§GetQueueDepth: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§SetQueueDepth: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT
Implementations§
§impl IComStaThreadPoolKnobs_Vtbl
impl IComStaThreadPoolKnobs_Vtbl
pub const fn new<Identity: IUnknownImpl<Impl = Impl>, Impl: IComStaThreadPoolKnobs_Impl, const OFFSET: isize>( ) -> IComStaThreadPoolKnobs_Vtbl
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl RefUnwindSafe for IComStaThreadPoolKnobs_Vtbl
impl Send for IComStaThreadPoolKnobs_Vtbl
impl Sync for IComStaThreadPoolKnobs_Vtbl
impl Unpin for IComStaThreadPoolKnobs_Vtbl
impl UnwindSafe for IComStaThreadPoolKnobs_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