Struct ITorchControl_Vtbl
#[repr(C)]pub struct ITorchControl_Vtbl {
pub base__: IInspectable_Vtbl,
pub Supported: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT,
pub PowerSupported: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT,
pub Enabled: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT,
pub SetEnabled: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT,
pub PowerPercent: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT,
pub SetPowerPercent: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT,
}
Fields§
§base__: IInspectable_Vtbl
§Supported: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT
§PowerSupported: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT
§Enabled: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT
§SetEnabled: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT
§PowerPercent: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT
§SetPowerPercent: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT
Auto Trait Implementations§
impl Freeze for ITorchControl_Vtbl
impl RefUnwindSafe for ITorchControl_Vtbl
impl Send for ITorchControl_Vtbl
impl Sync for ITorchControl_Vtbl
impl Unpin for ITorchControl_Vtbl
impl UnwindSafe for ITorchControl_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