Struct winsafe::IEnumShellItems
source · pub struct IEnumShellItems(/* private fields */);
Available on crate feature
shell
only.Expand description
IEnumShellItems
COM interface over IEnumShellItemsVT
.
Automatically calls
IUnknown::Release
when the object goes out of scope.
Trait Implementations§
source§impl Clone for IEnumShellItems
impl Clone for IEnumShellItems
source§impl Drop for IEnumShellItems
impl Drop for IEnumShellItems
source§impl ole_IUnknown for IEnumShellItems
impl ole_IUnknown for IEnumShellItems
source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Available on crate feature
ole
only.Creates an object from a COM virtual table pointer. Read more
source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Available on crate feature
ole
only.Returns a mutable reference do the underlying COM virtual table pointer. Read more
source§fn ptr(&self) -> *mut c_void
fn ptr(&self) -> *mut c_void
Available on crate feature
ole
only.Returns the pointer to the underlying COM virtual table. Read more
source§unsafe fn null() -> Self
unsafe fn null() -> Self
Available on crate feature
ole
only.Creates an object from a null COM virtual table pointer. Read more
source§fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
Available on crate feature
ole
only.IUnknown::QueryInterface
method.source§impl shell_IEnumShellItems for IEnumShellItems
impl shell_IEnumShellItems for IEnumShellItems
source§fn iter(&self) -> impl Iterator<Item = HrResult<IShellItem>> + '_
fn iter(&self) -> impl Iterator<Item = HrResult<IShellItem>> + '_
Returns an iterator over the
IShellItem
elements
which calls
IEnumShellItems::Next
internally. Read moresource§fn Next(&self) -> HrResult<Option<IShellItem>>
fn Next(&self) -> HrResult<Option<IShellItem>>
IEnumShellItems::Next
method. Read moreimpl Send for IEnumShellItems
Auto Trait Implementations§
impl Freeze for IEnumShellItems
impl RefUnwindSafe for IEnumShellItems
impl !Sync for IEnumShellItems
impl Unpin for IEnumShellItems
impl UnwindSafe for IEnumShellItems
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