Struct windows::Win32::UI::Shell::IFileSearchBand
pub struct IFileSearchBand(/* private fields */);
Implementations§
§impl IFileSearchBand
impl IFileSearchBand
pub unsafe fn SetFocus(&self) -> Result<()>
pub unsafe fn SetSearchParameters<P0>(
&self,
pbstrsearchid: *const BSTR,
bnavtoresults: P0,
pvarscope: *const VARIANT,
pvarqueryfile: *const VARIANT
) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn SearchID(&self) -> Result<BSTR>
pub unsafe fn Scope(&self) -> Result<VARIANT>
pub unsafe fn QueryFile(&self) -> Result<VARIANT>
Trait Implementations§
§impl Clone for IFileSearchBand
impl Clone for IFileSearchBand
§fn clone(&self) -> IFileSearchBand
fn clone(&self) -> IFileSearchBand
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 more§impl Debug for IFileSearchBand
impl Debug for IFileSearchBand
§impl From<&IFileSearchBand> for &IDispatch
impl From<&IFileSearchBand> for &IDispatch
§fn from(value: &IFileSearchBand) -> Self
fn from(value: &IFileSearchBand) -> Self
Converts to this type from the input type.
§impl From<&IFileSearchBand> for &IUnknown
impl From<&IFileSearchBand> for &IUnknown
§fn from(value: &IFileSearchBand) -> Self
fn from(value: &IFileSearchBand) -> Self
Converts to this type from the input type.
§impl From<IFileSearchBand> for IDispatch
impl From<IFileSearchBand> for IDispatch
§fn from(value: IFileSearchBand) -> Self
fn from(value: IFileSearchBand) -> Self
Converts to this type from the input type.
§impl From<IFileSearchBand> for IUnknown
impl From<IFileSearchBand> for IUnknown
§fn from(value: IFileSearchBand) -> Self
fn from(value: IFileSearchBand) -> Self
Converts to this type from the input type.
§impl Interface for IFileSearchBand
impl Interface for IFileSearchBand
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IFileSearchBand
impl PartialEq for IFileSearchBand
§fn eq(&self, other: &IFileSearchBand) -> bool
fn eq(&self, other: &IFileSearchBand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IFileSearchBand
impl StructuralPartialEq for IFileSearchBand
Auto Trait Implementations§
impl RefUnwindSafe for IFileSearchBand
impl !Send for IFileSearchBand
impl !Sync for IFileSearchBand
impl Unpin for IFileSearchBand
impl UnwindSafe for IFileSearchBand
Blanket Implementations§
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