windows::Win32::Storage::Xps

Trait IXpsOMImageResource_Impl

pub trait IXpsOMImageResource_Impl: IXpsOMResource_Impl {
    // Required methods
    fn GetStream(&self) -> Result<IStream>;
    fn SetContent(
        &self,
        sourcestream: Ref<'_, IStream>,
        imagetype: XPS_IMAGE_TYPE,
        partname: Ref<'_, IOpcPartUri>,
    ) -> Result<()>;
    fn GetImageType(&self) -> Result<XPS_IMAGE_TYPE>;
}

Required Methods§

fn GetStream(&self) -> Result<IStream>

fn SetContent( &self, sourcestream: Ref<'_, IStream>, imagetype: XPS_IMAGE_TYPE, partname: Ref<'_, IOpcPartUri>, ) -> Result<()>

fn GetImageType(&self) -> Result<XPS_IMAGE_TYPE>

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§