Struct windows::Win32::Storage::Xps::IXpsOMPart
pub struct IXpsOMPart(/* private fields */);
Implementations§
§impl IXpsOMPart
impl IXpsOMPart
pub unsafe fn GetPartName(&self) -> Result<IOpcPartUri>
pub unsafe fn SetPartName<P0>(&self, parturi: P0) -> Result<()>where
P0: Param<IOpcPartUri>,
Trait Implementations§
§impl CanInto<IUnknown> for IXpsOMPart
impl CanInto<IUnknown> for IXpsOMPart
§impl CanInto<IXpsOMPart> for IXpsOMColorProfileResource
impl CanInto<IXpsOMPart> for IXpsOMColorProfileResource
§impl CanInto<IXpsOMPart> for IXpsOMCoreProperties
impl CanInto<IXpsOMPart> for IXpsOMCoreProperties
§impl CanInto<IXpsOMPart> for IXpsOMDocument
impl CanInto<IXpsOMPart> for IXpsOMDocument
§impl CanInto<IXpsOMPart> for IXpsOMDocumentSequence
impl CanInto<IXpsOMPart> for IXpsOMDocumentSequence
§impl CanInto<IXpsOMPart> for IXpsOMDocumentStructureResource
impl CanInto<IXpsOMPart> for IXpsOMDocumentStructureResource
§impl CanInto<IXpsOMPart> for IXpsOMFontResource
impl CanInto<IXpsOMPart> for IXpsOMFontResource
§impl CanInto<IXpsOMPart> for IXpsOMImageResource
impl CanInto<IXpsOMPart> for IXpsOMImageResource
§impl CanInto<IXpsOMPart> for IXpsOMPage
impl CanInto<IXpsOMPart> for IXpsOMPage
§impl CanInto<IXpsOMPart> for IXpsOMPage1
impl CanInto<IXpsOMPart> for IXpsOMPage1
§impl CanInto<IXpsOMPart> for IXpsOMPrintTicketResource
impl CanInto<IXpsOMPart> for IXpsOMPrintTicketResource
§impl CanInto<IXpsOMPart> for IXpsOMRemoteDictionaryResource
impl CanInto<IXpsOMPart> for IXpsOMRemoteDictionaryResource
§impl CanInto<IXpsOMPart> for IXpsOMRemoteDictionaryResource1
impl CanInto<IXpsOMPart> for IXpsOMRemoteDictionaryResource1
§impl CanInto<IXpsOMPart> for IXpsOMResource
impl CanInto<IXpsOMPart> for IXpsOMResource
§impl CanInto<IXpsOMPart> for IXpsOMSignatureBlockResource
impl CanInto<IXpsOMPart> for IXpsOMSignatureBlockResource
§impl CanInto<IXpsOMPart> for IXpsOMStoryFragmentsResource
impl CanInto<IXpsOMPart> for IXpsOMStoryFragmentsResource
§impl Clone for IXpsOMPart
impl Clone for IXpsOMPart
§fn clone(&self) -> IXpsOMPart
fn clone(&self) -> IXpsOMPart
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 more§impl Debug for IXpsOMPart
impl Debug for IXpsOMPart
§impl Deref for IXpsOMPart
impl Deref for IXpsOMPart
§impl From<&IXpsOMColorProfileResource> for &IXpsOMPart
impl From<&IXpsOMColorProfileResource> for &IXpsOMPart
§fn from(value: &IXpsOMColorProfileResource) -> Self
fn from(value: &IXpsOMColorProfileResource) -> Self
Converts to this type from the input type.
§impl From<&IXpsOMCoreProperties> for &IXpsOMPart
impl From<&IXpsOMCoreProperties> for &IXpsOMPart
§fn from(value: &IXpsOMCoreProperties) -> Self
fn from(value: &IXpsOMCoreProperties) -> Self
Converts to this type from the input type.
§impl From<&IXpsOMDocument> for &IXpsOMPart
impl From<&IXpsOMDocument> for &IXpsOMPart
§fn from(value: &IXpsOMDocument) -> Self
fn from(value: &IXpsOMDocument) -> Self
Converts to this type from the input type.
§impl From<&IXpsOMDocumentSequence> for &IXpsOMPart
impl From<&IXpsOMDocumentSequence> for &IXpsOMPart
§fn from(value: &IXpsOMDocumentSequence) -> Self
fn from(value: &IXpsOMDocumentSequence) -> Self
Converts to this type from the input type.
§impl From<&IXpsOMDocumentStructureResource> for &IXpsOMPart
impl From<&IXpsOMDocumentStructureResource> for &IXpsOMPart
§fn from(value: &IXpsOMDocumentStructureResource) -> Self
fn from(value: &IXpsOMDocumentStructureResource) -> Self
Converts to this type from the input type.
§impl From<&IXpsOMFontResource> for &IXpsOMPart
impl From<&IXpsOMFontResource> for &IXpsOMPart
§fn from(value: &IXpsOMFontResource) -> Self
fn from(value: &IXpsOMFontResource) -> Self
Converts to this type from the input type.
§impl From<&IXpsOMImageResource> for &IXpsOMPart
impl From<&IXpsOMImageResource> for &IXpsOMPart
§fn from(value: &IXpsOMImageResource) -> Self
fn from(value: &IXpsOMImageResource) -> Self
Converts to this type from the input type.
§impl From<&IXpsOMPage> for &IXpsOMPart
impl From<&IXpsOMPage> for &IXpsOMPart
§fn from(value: &IXpsOMPage) -> Self
fn from(value: &IXpsOMPage) -> Self
Converts to this type from the input type.
§impl From<&IXpsOMPage1> for &IXpsOMPart
impl From<&IXpsOMPage1> for &IXpsOMPart
§fn from(value: &IXpsOMPage1) -> Self
fn from(value: &IXpsOMPage1) -> Self
Converts to this type from the input type.
§impl From<&IXpsOMPart> for &IUnknown
impl From<&IXpsOMPart> for &IUnknown
§fn from(value: &IXpsOMPart) -> Self
fn from(value: &IXpsOMPart) -> Self
Converts to this type from the input type.
§impl From<&IXpsOMPrintTicketResource> for &IXpsOMPart
impl From<&IXpsOMPrintTicketResource> for &IXpsOMPart
§fn from(value: &IXpsOMPrintTicketResource) -> Self
fn from(value: &IXpsOMPrintTicketResource) -> Self
Converts to this type from the input type.
§impl From<&IXpsOMRemoteDictionaryResource> for &IXpsOMPart
impl From<&IXpsOMRemoteDictionaryResource> for &IXpsOMPart
§fn from(value: &IXpsOMRemoteDictionaryResource) -> Self
fn from(value: &IXpsOMRemoteDictionaryResource) -> Self
Converts to this type from the input type.
§impl From<&IXpsOMRemoteDictionaryResource1> for &IXpsOMPart
impl From<&IXpsOMRemoteDictionaryResource1> for &IXpsOMPart
§fn from(value: &IXpsOMRemoteDictionaryResource1) -> Self
fn from(value: &IXpsOMRemoteDictionaryResource1) -> Self
Converts to this type from the input type.
§impl From<&IXpsOMResource> for &IXpsOMPart
impl From<&IXpsOMResource> for &IXpsOMPart
§fn from(value: &IXpsOMResource) -> Self
fn from(value: &IXpsOMResource) -> Self
Converts to this type from the input type.
§impl From<&IXpsOMSignatureBlockResource> for &IXpsOMPart
impl From<&IXpsOMSignatureBlockResource> for &IXpsOMPart
§fn from(value: &IXpsOMSignatureBlockResource) -> Self
fn from(value: &IXpsOMSignatureBlockResource) -> Self
Converts to this type from the input type.
§impl From<&IXpsOMStoryFragmentsResource> for &IXpsOMPart
impl From<&IXpsOMStoryFragmentsResource> for &IXpsOMPart
§fn from(value: &IXpsOMStoryFragmentsResource) -> Self
fn from(value: &IXpsOMStoryFragmentsResource) -> Self
Converts to this type from the input type.
§impl From<IXpsOMColorProfileResource> for IXpsOMPart
impl From<IXpsOMColorProfileResource> for IXpsOMPart
§fn from(value: IXpsOMColorProfileResource) -> Self
fn from(value: IXpsOMColorProfileResource) -> Self
Converts to this type from the input type.
§impl From<IXpsOMCoreProperties> for IXpsOMPart
impl From<IXpsOMCoreProperties> for IXpsOMPart
§fn from(value: IXpsOMCoreProperties) -> Self
fn from(value: IXpsOMCoreProperties) -> Self
Converts to this type from the input type.
§impl From<IXpsOMDocument> for IXpsOMPart
impl From<IXpsOMDocument> for IXpsOMPart
§fn from(value: IXpsOMDocument) -> Self
fn from(value: IXpsOMDocument) -> Self
Converts to this type from the input type.
§impl From<IXpsOMDocumentSequence> for IXpsOMPart
impl From<IXpsOMDocumentSequence> for IXpsOMPart
§fn from(value: IXpsOMDocumentSequence) -> Self
fn from(value: IXpsOMDocumentSequence) -> Self
Converts to this type from the input type.
§impl From<IXpsOMDocumentStructureResource> for IXpsOMPart
impl From<IXpsOMDocumentStructureResource> for IXpsOMPart
§fn from(value: IXpsOMDocumentStructureResource) -> Self
fn from(value: IXpsOMDocumentStructureResource) -> Self
Converts to this type from the input type.
§impl From<IXpsOMFontResource> for IXpsOMPart
impl From<IXpsOMFontResource> for IXpsOMPart
§fn from(value: IXpsOMFontResource) -> Self
fn from(value: IXpsOMFontResource) -> Self
Converts to this type from the input type.
§impl From<IXpsOMImageResource> for IXpsOMPart
impl From<IXpsOMImageResource> for IXpsOMPart
§fn from(value: IXpsOMImageResource) -> Self
fn from(value: IXpsOMImageResource) -> Self
Converts to this type from the input type.
§impl From<IXpsOMPage> for IXpsOMPart
impl From<IXpsOMPage> for IXpsOMPart
§fn from(value: IXpsOMPage) -> Self
fn from(value: IXpsOMPage) -> Self
Converts to this type from the input type.
§impl From<IXpsOMPage1> for IXpsOMPart
impl From<IXpsOMPage1> for IXpsOMPart
§fn from(value: IXpsOMPage1) -> Self
fn from(value: IXpsOMPage1) -> Self
Converts to this type from the input type.
§impl From<IXpsOMPart> for IUnknown
impl From<IXpsOMPart> for IUnknown
§fn from(value: IXpsOMPart) -> Self
fn from(value: IXpsOMPart) -> Self
Converts to this type from the input type.
§impl From<IXpsOMPrintTicketResource> for IXpsOMPart
impl From<IXpsOMPrintTicketResource> for IXpsOMPart
§fn from(value: IXpsOMPrintTicketResource) -> Self
fn from(value: IXpsOMPrintTicketResource) -> Self
Converts to this type from the input type.
§impl From<IXpsOMRemoteDictionaryResource> for IXpsOMPart
impl From<IXpsOMRemoteDictionaryResource> for IXpsOMPart
§fn from(value: IXpsOMRemoteDictionaryResource) -> Self
fn from(value: IXpsOMRemoteDictionaryResource) -> Self
Converts to this type from the input type.
§impl From<IXpsOMRemoteDictionaryResource1> for IXpsOMPart
impl From<IXpsOMRemoteDictionaryResource1> for IXpsOMPart
§fn from(value: IXpsOMRemoteDictionaryResource1) -> Self
fn from(value: IXpsOMRemoteDictionaryResource1) -> Self
Converts to this type from the input type.
§impl From<IXpsOMResource> for IXpsOMPart
impl From<IXpsOMResource> for IXpsOMPart
§fn from(value: IXpsOMResource) -> Self
fn from(value: IXpsOMResource) -> Self
Converts to this type from the input type.
§impl From<IXpsOMSignatureBlockResource> for IXpsOMPart
impl From<IXpsOMSignatureBlockResource> for IXpsOMPart
§fn from(value: IXpsOMSignatureBlockResource) -> Self
fn from(value: IXpsOMSignatureBlockResource) -> Self
Converts to this type from the input type.
§impl From<IXpsOMStoryFragmentsResource> for IXpsOMPart
impl From<IXpsOMStoryFragmentsResource> for IXpsOMPart
§fn from(value: IXpsOMStoryFragmentsResource) -> Self
fn from(value: IXpsOMStoryFragmentsResource) -> Self
Converts to this type from the input type.
§impl Interface for IXpsOMPart
impl Interface for IXpsOMPart
§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.§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.
§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 more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
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 more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
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 more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IXpsOMPart
impl PartialEq for IXpsOMPart
§fn eq(&self, other: &IXpsOMPart) -> bool
fn eq(&self, other: &IXpsOMPart) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IXpsOMPart
impl StructuralPartialEq for IXpsOMPart
Auto Trait Implementations§
impl Freeze for IXpsOMPart
impl RefUnwindSafe for IXpsOMPart
impl !Send for IXpsOMPart
impl !Sync for IXpsOMPart
impl Unpin for IXpsOMPart
impl UnwindSafe for IXpsOMPart
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)