windows::Win32::Storage::Xps

Trait IXpsOMImageResourceCollection_Impl

pub trait IXpsOMImageResourceCollection_Impl: IUnknownImpl {
    // Required methods
    fn GetCount(&self) -> Result<u32>;
    fn GetAt(&self, index: u32) -> Result<IXpsOMImageResource>;
    fn InsertAt(
        &self,
        index: u32,
        object: Ref<'_, IXpsOMImageResource>,
    ) -> Result<()>;
    fn RemoveAt(&self, index: u32) -> Result<()>;
    fn SetAt(
        &self,
        index: u32,
        object: Ref<'_, IXpsOMImageResource>,
    ) -> Result<()>;
    fn Append(&self, object: Ref<'_, IXpsOMImageResource>) -> Result<()>;
    fn GetByPartName(
        &self,
        partname: Ref<'_, IOpcPartUri>,
    ) -> Result<IXpsOMImageResource>;
}

Required Methods§

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

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

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

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

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

fn Append(&self, object: Ref<'_, IXpsOMImageResource>) -> Result<()>

fn GetByPartName( &self, partname: Ref<'_, IOpcPartUri>, ) -> Result<IXpsOMImageResource>

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§