windows::Win32::Storage::Xps

Trait IXpsOMDocumentCollection_Impl

pub trait IXpsOMDocumentCollection_Impl: IUnknownImpl {
    // Required methods
    fn GetCount(&self) -> Result<u32>;
    fn GetAt(&self, index: u32) -> Result<IXpsOMDocument>;
    fn InsertAt(
        &self,
        index: u32,
        document: Ref<'_, IXpsOMDocument>,
    ) -> Result<()>;
    fn RemoveAt(&self, index: u32) -> Result<()>;
    fn SetAt(&self, index: u32, document: Ref<'_, IXpsOMDocument>) -> Result<()>;
    fn Append(&self, document: Ref<'_, IXpsOMDocument>) -> Result<()>;
}

Required Methods§

fn GetCount(&self) -> Result<u32>

fn GetAt(&self, index: u32) -> Result<IXpsOMDocument>

fn InsertAt(&self, index: u32, document: Ref<'_, IXpsOMDocument>) -> Result<()>

fn RemoveAt(&self, index: u32) -> Result<()>

fn SetAt(&self, index: u32, document: Ref<'_, IXpsOMDocument>) -> Result<()>

fn Append(&self, document: Ref<'_, IXpsOMDocument>) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§