pub struct IToggleProvider(/* private fields */);
Implementations§
Source§impl IToggleProvider
impl IToggleProvider
pub unsafe fn Toggle(&self) -> Result<()>
pub unsafe fn get_ToggleState(&self) -> Result<ToggleState>
Trait Implementations§
Source§impl Clone for IToggleProvider
impl Clone for IToggleProvider
Source§fn clone(&self) -> IToggleProvider
fn clone(&self) -> IToggleProvider
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IToggleProvider
impl Debug for IToggleProvider
Source§impl From<&IToggleProvider> for IUnknown
impl From<&IToggleProvider> for IUnknown
Source§fn from(value: &IToggleProvider) -> Self
fn from(value: &IToggleProvider) -> Self
Converts to this type from the input type.
Source§impl From<IToggleProvider> for IUnknown
impl From<IToggleProvider> for IUnknown
Source§fn from(value: IToggleProvider) -> Self
fn from(value: IToggleProvider) -> Self
Converts to this type from the input type.
Source§impl Interface for IToggleProvider
impl Interface for IToggleProvider
const IID: Guid
type Vtable = IToggleProvider_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IToggleProvider
impl PartialEq for IToggleProvider
impl Eq for IToggleProvider
impl StructuralPartialEq for IToggleProvider
Auto Trait Implementations§
impl Freeze for IToggleProvider
impl RefUnwindSafe for IToggleProvider
impl !Send for IToggleProvider
impl !Sync for IToggleProvider
impl Unpin for IToggleProvider
impl UnwindSafe for IToggleProvider
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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