[]Struct jni_android_sys::android::animation::Keyframe

#[repr(transparent)]
pub struct Keyframe(_);

public class Keyframe

Required feature: "android-animation-Keyframe"

Methods

impl Keyframe

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, Keyframe>, Local<'env, Throwable>>
[src]

pub fn ofInt_float_int<'env>(
    __jni_env: &'env Env,
    arg0: f32,
    arg1: i32
) -> Result<Option<Local<'env, Keyframe>>, Local<'env, Throwable>>
[src]

ofInt

Required features: "android-animation-Keyframe"

pub fn ofInt_float<'env>(
    __jni_env: &'env Env,
    arg0: f32
) -> Result<Option<Local<'env, Keyframe>>, Local<'env, Throwable>>
[src]

ofInt

Required features: "android-animation-Keyframe"

pub fn ofFloat_float_float<'env>(
    __jni_env: &'env Env,
    arg0: f32,
    arg1: f32
) -> Result<Option<Local<'env, Keyframe>>, Local<'env, Throwable>>
[src]

ofFloat

Required features: "android-animation-Keyframe"

pub fn ofFloat_float<'env>(
    __jni_env: &'env Env,
    arg0: f32
) -> Result<Option<Local<'env, Keyframe>>, Local<'env, Throwable>>
[src]

ofFloat

Required features: "android-animation-Keyframe"

pub fn ofObject_float_Object<'env>(
    __jni_env: &'env Env,
    arg0: f32,
    arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Keyframe>>, Local<'env, Throwable>>
[src]

ofObject

Required features: "android-animation-Keyframe", "java-lang-Object"

pub fn ofObject_float<'env>(
    __jni_env: &'env Env,
    arg0: f32
) -> Result<Option<Local<'env, Keyframe>>, Local<'env, Throwable>>
[src]

ofObject

Required features: "android-animation-Keyframe"

pub fn hasValue<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn getValue<'env>(
    &'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

getValue

Required features: "java-lang-Object"

pub fn setValue<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]

setValue

Required features: "java-lang-Object"

pub fn getFraction<'env>(&'env self) -> Result<f32, Local<'env, Throwable>>[src]

pub fn setFraction<'env>(
    &'env self,
    arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getInterpolator<'env>(
    &'env self
) -> Result<Option<Local<'env, TimeInterpolator>>, Local<'env, Throwable>>
[src]

getInterpolator

Required features: "android-animation-TimeInterpolator"

pub fn setInterpolator<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TimeInterpolator>>
) -> Result<(), Local<'env, Throwable>>
[src]

setInterpolator

Required features: "android-animation-TimeInterpolator"

pub fn getType<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getType

Required features: "java-lang-Class"

pub fn clone<'env>(
    &'env self
) -> Result<Option<Local<'env, Keyframe>>, Local<'env, Throwable>>
[src]

clone

Required features: "android-animation-Keyframe"

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

Required features: "java-lang-Class"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for Keyframe

impl AsRef<Cloneable> for Keyframe

impl AsValidJObjectAndEnv for Keyframe

impl Deref for Keyframe

type Target = Object

The resulting type after dereferencing.

impl JniType for Keyframe

Auto Trait Implementations

impl RefUnwindSafe for Keyframe

impl !Send for Keyframe

impl !Sync for Keyframe

impl Unpin for Keyframe

impl UnwindSafe for Keyframe

Blanket Implementations

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

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

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

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.