windows::Win32::System::Ole

Trait IOleParentUndoUnit_Impl

pub trait IOleParentUndoUnit_Impl: IOleUndoUnit_Impl {
    // Required methods
    fn Open(&self, ppuu: Ref<'_, IOleParentUndoUnit>) -> Result<()>;
    fn Close(
        &self,
        ppuu: Ref<'_, IOleParentUndoUnit>,
        fcommit: BOOL,
    ) -> Result<()>;
    fn Add(&self, puu: Ref<'_, IOleUndoUnit>) -> Result<()>;
    fn FindUnit(&self, puu: Ref<'_, IOleUndoUnit>) -> Result<()>;
    fn GetParentState(&self) -> Result<u32>;
}

Required Methods§

fn Open(&self, ppuu: Ref<'_, IOleParentUndoUnit>) -> Result<()>

fn Close(&self, ppuu: Ref<'_, IOleParentUndoUnit>, fcommit: BOOL) -> Result<()>

fn Add(&self, puu: Ref<'_, IOleUndoUnit>) -> Result<()>

fn FindUnit(&self, puu: Ref<'_, IOleUndoUnit>) -> Result<()>

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

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§