pub trait IUIAnimationInterpolator2_Impl: Sized {
    // Required methods
    fn GetDimension(&self) -> Result<u32>;
    fn SetInitialValueAndVelocity(
        &self,
        initialvalue: *const f64,
        initialvelocity: *const f64,
        cdimension: u32,
    ) -> Result<()>;
    fn SetDuration(&self, duration: f64) -> Result<()>;
    fn GetDuration(&self) -> Result<f64>;
    fn GetFinalValue(&self, value: *mut f64, cdimension: u32) -> Result<()>;
    fn InterpolateValue(
        &self,
        offset: f64,
        value: *mut f64,
        cdimension: u32,
    ) -> Result<()>;
    fn InterpolateVelocity(
        &self,
        offset: f64,
        velocity: *mut f64,
        cdimension: u32,
    ) -> Result<()>;
    fn GetPrimitiveInterpolation(
        &self,
        interpolation: Option<&IUIAnimationPrimitiveInterpolation>,
        cdimension: u32,
    ) -> Result<()>;
    fn GetDependencies(
        &self,
        initialvaluedependencies: *mut UI_ANIMATION_DEPENDENCIES,
        initialvelocitydependencies: *mut UI_ANIMATION_DEPENDENCIES,
        durationdependencies: *mut UI_ANIMATION_DEPENDENCIES,
    ) -> Result<()>;
}

Required Methods§

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

fn SetInitialValueAndVelocity( &self, initialvalue: *const f64, initialvelocity: *const f64, cdimension: u32, ) -> Result<()>

fn SetDuration(&self, duration: f64) -> Result<()>

fn GetDuration(&self) -> Result<f64>

fn GetFinalValue(&self, value: *mut f64, cdimension: u32) -> Result<()>

fn InterpolateValue( &self, offset: f64, value: *mut f64, cdimension: u32, ) -> Result<()>

fn InterpolateVelocity( &self, offset: f64, velocity: *mut f64, cdimension: u32, ) -> Result<()>

fn GetPrimitiveInterpolation( &self, interpolation: Option<&IUIAnimationPrimitiveInterpolation>, cdimension: u32, ) -> Result<()>

fn GetDependencies( &self, initialvaluedependencies: *mut UI_ANIMATION_DEPENDENCIES, initialvelocitydependencies: *mut UI_ANIMATION_DEPENDENCIES, durationdependencies: *mut UI_ANIMATION_DEPENDENCIES, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§