pub struct IFrnFilePickerFileTypes { /* private fields */ }Implementations§
Source§impl IFrnFilePickerFileTypes
impl IFrnFilePickerFileTypes
Sourcepub fn from_impl<T: IFrnFilePickerFileTypesImpl + 'static>(
value: T,
) -> ComPtr<IFrnFilePickerFileTypes>
pub fn from_impl<T: IFrnFilePickerFileTypesImpl + 'static>( value: T, ) -> ComPtr<IFrnFilePickerFileTypes>
Wraps a Rust implementation into a COM object native code can call.
Sourcepub fn is_default_type(&self, index: i32) -> bool
pub fn is_default_type(&self, index: i32) -> bool
IFrnFilePickerFileTypes::IsDefaultType
Sourcepub fn is_any_type(&self, index: i32) -> bool
pub fn is_any_type(&self, index: i32) -> bool
IFrnFilePickerFileTypes::IsAnyType
Sourcepub fn get_name(&self, index: i32) -> Option<ComPtr<IFrnString>>
pub fn get_name(&self, index: i32) -> Option<ComPtr<IFrnString>>
IFrnFilePickerFileTypes::GetName
Sourcepub fn get_patterns(
&self,
index: i32,
) -> Result<Option<ComPtr<IFrnStringArray>>, HResult>
pub fn get_patterns( &self, index: i32, ) -> Result<Option<ComPtr<IFrnStringArray>>, HResult>
IFrnFilePickerFileTypes::GetPatterns
Sourcepub fn get_extensions(
&self,
index: i32,
) -> Result<Option<ComPtr<IFrnStringArray>>, HResult>
pub fn get_extensions( &self, index: i32, ) -> Result<Option<ComPtr<IFrnStringArray>>, HResult>
IFrnFilePickerFileTypes::GetExtensions
Sourcepub fn get_mime_types(
&self,
index: i32,
) -> Result<Option<ComPtr<IFrnStringArray>>, HResult>
pub fn get_mime_types( &self, index: i32, ) -> Result<Option<ComPtr<IFrnStringArray>>, HResult>
IFrnFilePickerFileTypes::GetMimeTypes
Sourcepub fn get_apple_uniform_type_identifiers(
&self,
index: i32,
) -> Result<Option<ComPtr<IFrnStringArray>>, HResult>
pub fn get_apple_uniform_type_identifiers( &self, index: i32, ) -> Result<Option<ComPtr<IFrnStringArray>>, HResult>
IFrnFilePickerFileTypes::GetAppleUniformTypeIdentifiers
Methods from Deref<Target = IUnknown>§
Trait Implementations§
Source§impl Deref for IFrnFilePickerFileTypes
impl Deref for IFrnFilePickerFileTypes
Source§impl<T: IFrnFilePickerFileTypesImpl> ImplementedBy<T> for IFrnFilePickerFileTypes
impl<T: IFrnFilePickerFileTypesImpl> ImplementedBy<T> for IFrnFilePickerFileTypes
const VTBL: &'static IFrnFilePickerFileTypesVtbl
Source§impl Interface for IFrnFilePickerFileTypes
impl Interface for IFrnFilePickerFileTypes
type Vtbl = IFrnFilePickerFileTypesVtbl
Source§fn matches_iid(iid: &Guid) -> bool
fn matches_iid(iid: &Guid) -> bool
true if iid names this interface or one of its bases (including
IUnknown). Both the IDL value and the value materialized by com.h
(see Guid::as_com_h_materialized) are accepted.fn as_unknown(&self) -> &IUnknown
fn as_raw(&self) -> *mut Self
Auto Trait Implementations§
impl !Send for IFrnFilePickerFileTypes
impl !Sync for IFrnFilePickerFileTypes
impl Freeze for IFrnFilePickerFileTypes
impl RefUnwindSafe for IFrnFilePickerFileTypes
impl Unpin for IFrnFilePickerFileTypes
impl UnsafeUnpin for IFrnFilePickerFileTypes
impl UnwindSafe for IFrnFilePickerFileTypes
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more