Trait windows::Win32::Storage::Xps::IXpsOMDictionary_Impl

pub trait IXpsOMDictionary_Impl: Sized {
    // Required methods
    fn GetOwner(&self) -> Result<IUnknown>;
    fn GetCount(&self) -> Result<u32>;
    fn GetAt(&self, index: u32, key: *mut PWSTR) -> Result<IXpsOMShareable>;
    fn GetByKey(
        &self,
        key: &PCWSTR,
        beforeentry: Option<&IXpsOMShareable>,
    ) -> Result<IXpsOMShareable>;
    fn GetIndex(&self, entry: Option<&IXpsOMShareable>) -> Result<u32>;
    fn Append(
        &self,
        key: &PCWSTR,
        entry: Option<&IXpsOMShareable>,
    ) -> Result<()>;
    fn InsertAt(
        &self,
        index: u32,
        key: &PCWSTR,
        entry: Option<&IXpsOMShareable>,
    ) -> Result<()>;
    fn RemoveAt(&self, index: u32) -> Result<()>;
    fn SetAt(
        &self,
        index: u32,
        key: &PCWSTR,
        entry: Option<&IXpsOMShareable>,
    ) -> Result<()>;
    fn Clone(&self) -> Result<IXpsOMDictionary>;
}

Required Methods§

fn GetOwner(&self) -> Result<IUnknown>

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

fn GetAt(&self, index: u32, key: *mut PWSTR) -> Result<IXpsOMShareable>

fn GetByKey( &self, key: &PCWSTR, beforeentry: Option<&IXpsOMShareable>, ) -> Result<IXpsOMShareable>

fn GetIndex(&self, entry: Option<&IXpsOMShareable>) -> Result<u32>

fn Append(&self, key: &PCWSTR, entry: Option<&IXpsOMShareable>) -> Result<()>

fn InsertAt( &self, index: u32, key: &PCWSTR, entry: Option<&IXpsOMShareable>, ) -> Result<()>

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

fn SetAt( &self, index: u32, key: &PCWSTR, entry: Option<&IXpsOMShareable>, ) -> Result<()>

fn Clone(&self) -> Result<IXpsOMDictionary>

Object Safety§

This trait is not object safe.

Implementors§