Struct windows::Devices::Pwm::IPwmPin_Vtbl
#[repr(C)]pub struct IPwmPin_Vtbl {
pub base__: IInspectable_Vtbl,
pub Controller: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub GetActiveDutyCyclePercentage: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT,
pub SetActiveDutyCyclePercentage: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT,
pub Polarity: unsafe extern "system" fn(_: *mut c_void, _: *mut PwmPulsePolarity) -> HRESULT,
pub SetPolarity: unsafe extern "system" fn(_: *mut c_void, _: PwmPulsePolarity) -> HRESULT,
pub Start: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub Stop: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub IsStarted: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT,
}
Fields§
§base__: IInspectable_Vtbl
§Controller: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§GetActiveDutyCyclePercentage: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT
§SetActiveDutyCyclePercentage: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT
§Polarity: unsafe extern "system" fn(_: *mut c_void, _: *mut PwmPulsePolarity) -> HRESULT
§SetPolarity: unsafe extern "system" fn(_: *mut c_void, _: PwmPulsePolarity) -> HRESULT
§Start: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§Stop: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§IsStarted: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT
Auto Trait Implementations§
impl Freeze for IPwmPin_Vtbl
impl RefUnwindSafe for IPwmPin_Vtbl
impl Send for IPwmPin_Vtbl
impl Sync for IPwmPin_Vtbl
impl Unpin for IPwmPin_Vtbl
impl UnwindSafe for IPwmPin_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