pub struct ISelectionProvider(/* private fields */);
Implementations§
Source§impl ISelectionProvider
impl ISelectionProvider
pub unsafe fn GetSelection(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn get_CanSelectMultiple(&self) -> Result<BOOL>
pub unsafe fn get_IsSelectionRequired(&self) -> Result<BOOL>
Trait Implementations§
Source§impl Clone for ISelectionProvider
impl Clone for ISelectionProvider
Source§fn clone(&self) -> ISelectionProvider
fn clone(&self) -> ISelectionProvider
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 ISelectionProvider
impl Debug for ISelectionProvider
Source§impl From<&ISelectionProvider> for IUnknown
impl From<&ISelectionProvider> for IUnknown
Source§fn from(value: &ISelectionProvider) -> Self
fn from(value: &ISelectionProvider) -> Self
Converts to this type from the input type.
Source§impl From<&ISelectionProvider2> for ISelectionProvider
impl From<&ISelectionProvider2> for ISelectionProvider
Source§fn from(value: &ISelectionProvider2) -> Self
fn from(value: &ISelectionProvider2) -> Self
Converts to this type from the input type.
Source§impl From<ISelectionProvider> for IUnknown
impl From<ISelectionProvider> for IUnknown
Source§fn from(value: ISelectionProvider) -> Self
fn from(value: ISelectionProvider) -> Self
Converts to this type from the input type.
Source§impl From<ISelectionProvider2> for ISelectionProvider
impl From<ISelectionProvider2> for ISelectionProvider
Source§fn from(value: ISelectionProvider2) -> Self
fn from(value: ISelectionProvider2) -> Self
Converts to this type from the input type.
Source§impl Interface for ISelectionProvider
impl Interface for ISelectionProvider
const IID: Guid
type Vtable = ISelectionProvider_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 ISelectionProvider
impl PartialEq for ISelectionProvider
impl Eq for ISelectionProvider
impl StructuralPartialEq for ISelectionProvider
Auto Trait Implementations§
impl Freeze for ISelectionProvider
impl RefUnwindSafe for ISelectionProvider
impl !Send for ISelectionProvider
impl !Sync for ISelectionProvider
impl Unpin for ISelectionProvider
impl UnwindSafe for ISelectionProvider
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