windows::Win32::Graphics::DirectManipulation

Trait IDirectManipulationViewport2_Impl

pub trait IDirectManipulationViewport2_Impl: IDirectManipulationViewport_Impl {
    // Required methods
    fn AddBehavior(&self, behavior: Ref<'_, IUnknown>) -> Result<u32>;
    fn RemoveBehavior(&self, cookie: u32) -> Result<()>;
    fn RemoveAllBehaviors(&self) -> Result<()>;
}

Required Methods§

fn AddBehavior(&self, behavior: Ref<'_, IUnknown>) -> Result<u32>

fn RemoveBehavior(&self, cookie: u32) -> Result<()>

fn RemoveAllBehaviors(&self) -> 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§