pub struct IMimePropertySet(/* private fields */);Implementations§
Source§impl IMimePropertySet
impl IMimePropertySet
pub unsafe fn Save<P0>(&self, pstm: P0, fcleardirty: bool) -> Result<(), Error>where
P0: Param<IStream>,
pub unsafe fn GetSizeMax(&self) -> Result<u64, Error>
pub unsafe fn InitNew(&self) -> Result<(), Error>
pub unsafe fn GetPropInfo<P0>( &self, pszname: P0, pinfo: *mut MIMEPROPINFO, ) -> Result<(), Error>
pub unsafe fn SetPropInfo<P0>( &self, pszname: P0, pinfo: *mut MIMEPROPINFO, ) -> Result<(), Error>
pub unsafe fn GetPropA<P0>( &self, pszname: P0, dwflags: u32, pvalue: *mut PROPVARIANT, ) -> Result<(), Error>
pub unsafe fn SetPropA<P0>( &self, pszname: P0, dwflags: u32, pvalue: *mut PROPVARIANT, ) -> Result<(), Error>
pub unsafe fn AppendProp<P0>( &self, pszname: P0, dwflags: u32, pvalue: *mut PROPVARIANT, ) -> Result<(), Error>
pub unsafe fn DeleteProp<P0>(&self, pszname: P0) -> Result<(), Error>
pub unsafe fn CopyProps<P2>(
&self,
cnames: u32,
prgszname: *const PCSTR,
ppropertyset: P2,
) -> Result<(), Error>where
P2: Param<IMimePropertySet>,
pub unsafe fn MoveProps<P2>(
&self,
cnames: u32,
prgszname: *const PCSTR,
ppropertyset: P2,
) -> Result<(), Error>where
P2: Param<IMimePropertySet>,
pub unsafe fn DeleteExcept( &self, cnames: u32, prgszname: *const PCSTR, ) -> Result<(), Error>
pub unsafe fn QueryProp<P0, P1>( &self, pszname: P0, pszcriteria: P1, fsubstring: u8, fcasesensitive: u8, ) -> Result<(), Error>
pub unsafe fn GetCharset( &self, phcharset: *mut *mut HCHARSET__, ) -> Result<(), Error>
pub unsafe fn SetCharset( &self, hcharset: *mut HCHARSET__, applytype: CSETAPPLYTYPE, ) -> Result<(), Error>
pub unsafe fn GetParameters<P0>( &self, pszname: P0, pcparams: *mut u32, pprgparam: *mut *mut MIMEPARAMINFO, ) -> Result<(), Error>
pub unsafe fn IsContentType<P0, P1>( &self, pszpritype: P0, pszsubtype: P1, ) -> Result<(), Error>
pub unsafe fn BindToObject( &self, riid: *const GUID, ppvobject: *mut *mut c_void, ) -> Result<(), Error>
pub unsafe fn Clone(&self) -> Result<IMimePropertySet, Error>
pub unsafe fn SetOption( &self, oid: u32, pvalue: *mut PROPVARIANT, ) -> Result<(), Error>
pub unsafe fn GetOption( &self, oid: u32, pvalue: *mut PROPVARIANT, ) -> Result<(), Error>
pub unsafe fn EnumPropsA( &self, dwflags: u32, ) -> Result<IMimeEnumProperties, Error>
Trait Implementations§
Source§impl Clone for IMimePropertySet
impl Clone for IMimePropertySet
Source§fn clone(&self) -> IMimePropertySet
fn clone(&self) -> IMimePropertySet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IMimePropertySet
impl Debug for IMimePropertySet
Source§impl Deref for IMimePropertySet
impl Deref for IMimePropertySet
impl Eq for IMimePropertySet
Source§impl From<&IMimeBody> for &IMimePropertySet
impl From<&IMimeBody> for &IMimePropertySet
Source§fn from(value: &IMimeBody) -> &IMimePropertySet
fn from(value: &IMimeBody) -> &IMimePropertySet
Converts to this type from the input type.
Source§impl From<IMimeBody> for IMimePropertySet
impl From<IMimeBody> for IMimePropertySet
Source§fn from(value: IMimeBody) -> IMimePropertySet
fn from(value: IMimeBody) -> IMimePropertySet
Converts to this type from the input type.
Source§impl Interface for IMimePropertySet
impl Interface for IMimePropertySet
Source§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.Source§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.
Source§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 moreSource§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>
This casts the given COM interface to [
&dyn Any]. Read moreSource§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>
This casts the given COM interface to [
&dyn Any]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl, not the inner &MyApp object. Read moreSource§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>
This casts the given COM interface to [
&dyn Any]. It returns a reference to the “outer”
object, e.g. MyApp_Impl, not the inner MyApp object. Read moreSource§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a
Weak reference to this object.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
Call
QueryInterface on this interface Read moreSource§fn to_ref(&self) -> InterfaceRef<'_, Self>
fn to_ref(&self) -> InterfaceRef<'_, Self>
Creates an
InterfaceRef for this reference. The InterfaceRef tracks lifetimes statically,
and eliminates the need for dynamic reference count adjustments (AddRef/Release).Source§impl PartialEq for IMimePropertySet
impl PartialEq for IMimePropertySet
Source§fn eq(&self, other: &IMimePropertySet) -> bool
fn eq(&self, other: &IMimePropertySet) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IMimePropertySet
Auto Trait Implementations§
impl !Send for IMimePropertySet
impl !Sync for IMimePropertySet
impl Freeze for IMimePropertySet
impl RefUnwindSafe for IMimePropertySet
impl Unpin for IMimePropertySet
impl UnsafeUnpin for IMimePropertySet
impl UnwindSafe for IMimePropertySet
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