Struct windows::Devices::Pwm::Provider::IPwmControllerProvider_Vtbl
#[repr(C)]pub struct IPwmControllerProvider_Vtbl {
pub base__: IInspectable_Vtbl,
pub PinCount: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT,
pub ActualFrequency: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT,
pub SetDesiredFrequency: unsafe extern "system" fn(_: *mut c_void, _: f64, _: *mut f64) -> HRESULT,
pub MaxFrequency: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT,
pub MinFrequency: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT,
pub AcquirePin: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT,
pub ReleasePin: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT,
pub EnablePin: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT,
pub DisablePin: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT,
pub SetPulseParameters: unsafe extern "system" fn(_: *mut c_void, _: i32, _: f64, _: bool) -> HRESULT,
}
Fields§
§base__: IInspectable_Vtbl
§PinCount: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT
§ActualFrequency: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT
§SetDesiredFrequency: unsafe extern "system" fn(_: *mut c_void, _: f64, _: *mut f64) -> HRESULT
§MaxFrequency: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT
§MinFrequency: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT
§AcquirePin: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT
§ReleasePin: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT
§EnablePin: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT
§DisablePin: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT
§SetPulseParameters: unsafe extern "system" fn(_: *mut c_void, _: i32, _: f64, _: bool) -> HRESULT
Implementations§
§impl IPwmControllerProvider_Vtbl
impl IPwmControllerProvider_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IPwmControllerProvider_Vtblwhere
Identity: IPwmControllerProvider_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IPwmControllerProvider_Vtbl
impl RefUnwindSafe for IPwmControllerProvider_Vtbl
impl Send for IPwmControllerProvider_Vtbl
impl Sync for IPwmControllerProvider_Vtbl
impl Unpin for IPwmControllerProvider_Vtbl
impl UnwindSafe for IPwmControllerProvider_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