pub struct IFolderView(/* private fields */);
Implementations§
Source§impl IFolderView
impl IFolderView
pub unsafe fn GetCurrentViewMode(&self) -> Result<u32>
pub unsafe fn SetCurrentViewMode(&self, viewmode: u32) -> Result<()>
pub unsafe fn GetFolder<T: Interface>(&self) -> Result<T>
pub unsafe fn Item(&self, iitemindex: i32) -> Result<*mut ITEMIDLIST>
pub unsafe fn ItemCount(&self, uflags: u32) -> Result<i32>
pub unsafe fn Items<T: Interface>(&self, uflags: u32) -> Result<T>
pub unsafe fn GetSelectionMarkedItem(&self) -> Result<i32>
pub unsafe fn GetFocusedItem(&self) -> Result<i32>
pub unsafe fn GetItemPosition(&self, pidl: *mut ITEMIDLIST) -> Result<POINT>
pub unsafe fn GetSpacing(&self, ppt: *mut POINT) -> Result<()>
pub unsafe fn GetDefaultSpacing(&self) -> Result<POINT>
pub unsafe fn GetAutoArrange(&self) -> Result<()>
pub unsafe fn SelectItem(&self, iitem: i32, dwflags: u32) -> Result<()>
pub unsafe fn SelectAndPositionItems( &self, cidl: u32, apidl: *mut *mut ITEMIDLIST, apt: *mut POINT, dwflags: u32, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IFolderView
impl Clone for IFolderView
Source§fn clone(&self) -> IFolderView
fn clone(&self) -> IFolderView
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 IFolderView
impl Debug for IFolderView
Source§impl From<&IFolderView> for IUnknown
impl From<&IFolderView> for IUnknown
Source§fn from(value: &IFolderView) -> Self
fn from(value: &IFolderView) -> Self
Converts to this type from the input type.
Source§impl From<&IFolderView2> for IFolderView
impl From<&IFolderView2> for IFolderView
Source§fn from(value: &IFolderView2) -> Self
fn from(value: &IFolderView2) -> Self
Converts to this type from the input type.
Source§impl From<IFolderView> for IUnknown
impl From<IFolderView> for IUnknown
Source§fn from(value: IFolderView) -> Self
fn from(value: IFolderView) -> Self
Converts to this type from the input type.
Source§impl From<IFolderView2> for IFolderView
impl From<IFolderView2> for IFolderView
Source§fn from(value: IFolderView2) -> Self
fn from(value: IFolderView2) -> Self
Converts to this type from the input type.
Source§impl Interface for IFolderView
impl Interface for IFolderView
const IID: Guid
type Vtable = IFolderView_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 IFolderView
impl PartialEq for IFolderView
impl Eq for IFolderView
impl StructuralPartialEq for IFolderView
Auto Trait Implementations§
impl Freeze for IFolderView
impl RefUnwindSafe for IFolderView
impl !Send for IFolderView
impl !Sync for IFolderView
impl Unpin for IFolderView
impl UnwindSafe for IFolderView
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