pub struct IHlinkTarget(/* private fields */);
Implementations§
Source§impl IHlinkTarget
impl IHlinkTarget
pub unsafe fn SetBrowseContext<'a>( &self, pihlbc: impl IntoParam<'a, IHlinkBrowseContext>, ) -> Result<()>
pub unsafe fn GetBrowseContext(&self) -> Result<IHlinkBrowseContext>
pub unsafe fn GetMoniker<'a>( &self, pwzlocation: impl IntoParam<'a, PWSTR>, dwassign: u32, ) -> Result<IMoniker>
pub unsafe fn GetFriendlyName<'a>( &self, pwzlocation: impl IntoParam<'a, PWSTR>, ) -> Result<PWSTR>
Trait Implementations§
Source§impl Clone for IHlinkTarget
impl Clone for IHlinkTarget
Source§fn clone(&self) -> IHlinkTarget
fn clone(&self) -> IHlinkTarget
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 IHlinkTarget
impl Debug for IHlinkTarget
Source§impl From<&IHlinkTarget> for IUnknown
impl From<&IHlinkTarget> for IUnknown
Source§fn from(value: &IHlinkTarget) -> Self
fn from(value: &IHlinkTarget) -> Self
Converts to this type from the input type.
Source§impl From<IHlinkTarget> for IUnknown
impl From<IHlinkTarget> for IUnknown
Source§fn from(value: IHlinkTarget) -> Self
fn from(value: IHlinkTarget) -> Self
Converts to this type from the input type.
Source§impl Interface for IHlinkTarget
impl Interface for IHlinkTarget
const IID: Guid
type Vtable = IHlinkTarget_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 IHlinkTarget
impl PartialEq for IHlinkTarget
impl Eq for IHlinkTarget
impl StructuralPartialEq for IHlinkTarget
Auto Trait Implementations§
impl Freeze for IHlinkTarget
impl RefUnwindSafe for IHlinkTarget
impl !Send for IHlinkTarget
impl !Sync for IHlinkTarget
impl Unpin for IHlinkTarget
impl UnwindSafe for IHlinkTarget
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