[][src]Struct skia_bindings::SkInterpolatorBase

#[repr(C)]
pub struct SkInterpolatorBase {
    pub fFrameCount: i16,
    pub fElemCount: u8,
    pub fFlags: u8,
    pub fRepeat: SkScalar,
    pub fTimes: *mut SkInterpolatorBase_SkTimeCode,
    pub fStorage: *mut c_void,
}

Fields

fFrameCount: i16fElemCount: u8fFlags: u8fRepeat: SkScalarfTimes: *mut SkInterpolatorBase_SkTimeCodefStorage: *mut c_void

Methods

impl SkInterpolatorBase[src]

pub unsafe fn reset(&mut self, elemCount: c_int, frameCount: c_int)[src]

pub unsafe fn getDuration(
    &self,
    startTime: *mut SkMSec,
    endTime: *mut SkMSec
) -> bool
[src]

pub unsafe fn setMirror(&mut self, mirror: bool)[src]

pub unsafe fn setRepeatCount(&mut self, repeatCount: SkScalar)[src]

pub unsafe fn setReset(&mut self, reset: bool)[src]

pub unsafe fn timeToT(
    &self,
    time: SkMSec,
    T: *mut SkScalar,
    index: *mut c_int,
    exact: *mut bool
) -> SkInterpolatorBase_Result
[src]

pub unsafe fn ComputeRelativeT(
    time: SkMSec,
    prevTime: SkMSec,
    nextTime: SkMSec,
    blend: *const SkScalar
) -> SkScalar
[src]

pub unsafe fn new() -> Self[src]

pub unsafe fn destruct(&mut self)[src]

Trait Implementations

impl Debug for SkInterpolatorBase[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]