pub struct IShellImageDataFactory(/* private fields */);
Implementations§
Source§impl IShellImageDataFactory
impl IShellImageDataFactory
pub unsafe fn CreateIShellImageData(&self) -> Result<IShellImageData>
pub unsafe fn CreateImageFromFile<'a>( &self, pszpath: impl IntoParam<'a, PWSTR>, ) -> Result<IShellImageData>
pub unsafe fn CreateImageFromStream<'a>( &self, pstream: impl IntoParam<'a, IStream>, ) -> Result<IShellImageData>
pub unsafe fn GetDataFormatFromPath<'a>( &self, pszpath: impl IntoParam<'a, PWSTR>, ) -> Result<Guid>
Trait Implementations§
Source§impl Clone for IShellImageDataFactory
impl Clone for IShellImageDataFactory
Source§fn clone(&self) -> IShellImageDataFactory
fn clone(&self) -> IShellImageDataFactory
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 IShellImageDataFactory
impl Debug for IShellImageDataFactory
Source§impl From<&IShellImageDataFactory> for IUnknown
impl From<&IShellImageDataFactory> for IUnknown
Source§fn from(value: &IShellImageDataFactory) -> Self
fn from(value: &IShellImageDataFactory) -> Self
Converts to this type from the input type.
Source§impl From<IShellImageDataFactory> for IUnknown
impl From<IShellImageDataFactory> for IUnknown
Source§fn from(value: IShellImageDataFactory) -> Self
fn from(value: IShellImageDataFactory) -> Self
Converts to this type from the input type.
Source§impl Interface for IShellImageDataFactory
impl Interface for IShellImageDataFactory
const IID: Guid
type Vtable = IShellImageDataFactory_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 IShellImageDataFactory
impl PartialEq for IShellImageDataFactory
impl Eq for IShellImageDataFactory
impl StructuralPartialEq for IShellImageDataFactory
Auto Trait Implementations§
impl Freeze for IShellImageDataFactory
impl RefUnwindSafe for IShellImageDataFactory
impl !Send for IShellImageDataFactory
impl !Sync for IShellImageDataFactory
impl Unpin for IShellImageDataFactory
impl UnwindSafe for IShellImageDataFactory
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