windows::Win32::Storage::Packaging::Opc

Trait IOpcPartSet_Impl

pub trait IOpcPartSet_Impl: IUnknownImpl {
    // Required methods
    fn GetPart(&self, name: Ref<'_, IOpcPartUri>) -> Result<IOpcPart>;
    fn CreatePart(
        &self,
        name: Ref<'_, IOpcPartUri>,
        contenttype: &PCWSTR,
        compressionoptions: OPC_COMPRESSION_OPTIONS,
    ) -> Result<IOpcPart>;
    fn DeletePart(&self, name: Ref<'_, IOpcPartUri>) -> Result<()>;
    fn PartExists(&self, name: Ref<'_, IOpcPartUri>) -> Result<BOOL>;
    fn GetEnumerator(&self) -> Result<IOpcPartEnumerator>;
}

Required Methods§

fn GetPart(&self, name: Ref<'_, IOpcPartUri>) -> Result<IOpcPart>

fn CreatePart( &self, name: Ref<'_, IOpcPartUri>, contenttype: &PCWSTR, compressionoptions: OPC_COMPRESSION_OPTIONS, ) -> Result<IOpcPart>

fn DeletePart(&self, name: Ref<'_, IOpcPartUri>) -> Result<()>

fn PartExists(&self, name: Ref<'_, IOpcPartUri>) -> Result<BOOL>

fn GetEnumerator(&self) -> Result<IOpcPartEnumerator>

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§