windows::Win32::Storage::Xps

Trait IXpsOMVisualCollection_Impl

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

Required Methods§

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

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

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

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

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

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

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§