pub struct IAnnotationProvider(/* private fields */);
Implementations§
Source§impl IAnnotationProvider
impl IAnnotationProvider
pub unsafe fn get_AnnotationTypeId(&self) -> Result<i32>
pub unsafe fn get_AnnotationTypeName(&self) -> Result<BSTR>
pub unsafe fn get_Author(&self) -> Result<BSTR>
pub unsafe fn get_DateTime(&self) -> Result<BSTR>
pub unsafe fn get_Target(&self) -> Result<IRawElementProviderSimple>
Trait Implementations§
Source§impl Clone for IAnnotationProvider
impl Clone for IAnnotationProvider
Source§fn clone(&self) -> IAnnotationProvider
fn clone(&self) -> IAnnotationProvider
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 IAnnotationProvider
impl Debug for IAnnotationProvider
Source§impl From<&IAnnotationProvider> for IUnknown
impl From<&IAnnotationProvider> for IUnknown
Source§fn from(value: &IAnnotationProvider) -> Self
fn from(value: &IAnnotationProvider) -> Self
Converts to this type from the input type.
Source§impl From<IAnnotationProvider> for IUnknown
impl From<IAnnotationProvider> for IUnknown
Source§fn from(value: IAnnotationProvider) -> Self
fn from(value: IAnnotationProvider) -> Self
Converts to this type from the input type.
Source§impl Interface for IAnnotationProvider
impl Interface for IAnnotationProvider
const IID: Guid
type Vtable = IAnnotationProvider_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 IAnnotationProvider
impl PartialEq for IAnnotationProvider
impl Eq for IAnnotationProvider
impl StructuralPartialEq for IAnnotationProvider
Auto Trait Implementations§
impl Freeze for IAnnotationProvider
impl RefUnwindSafe for IAnnotationProvider
impl !Send for IAnnotationProvider
impl !Sync for IAnnotationProvider
impl Unpin for IAnnotationProvider
impl UnwindSafe for IAnnotationProvider
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