windows::Win32::Storage::Xps

Trait IXpsOMFontResourceCollection_Impl

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

Required Methods§

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

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

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

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

fn Append(&self, value: Ref<'_, IXpsOMFontResource>) -> Result<()>

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

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

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§