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