[]Struct jni_android_sys::android::animation::BidirectionalTypeConverter

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

public class BidirectionalTypeConverter

Required feature: "android-animation-BidirectionalTypeConverter"

Methods

impl BidirectionalTypeConverter

pub fn new<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Class>>,
    arg1: impl Into<Option<&'env Class>>
) -> Result<Local<'env, BidirectionalTypeConverter>, Local<'env, Throwable>>
[src]

BidirectionalTypeConverter

Required features: "java-lang-Class"

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

convertBack

Required features: "java-lang-Object"

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

invert

Required features: "android-animation-BidirectionalTypeConverter"

Methods from Deref<Target = TypeConverter>

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

convert

Required features: "java-lang-Object"

Trait Implementations

impl AsJValue for BidirectionalTypeConverter

impl AsValidJObjectAndEnv for BidirectionalTypeConverter

impl Deref for BidirectionalTypeConverter

type Target = TypeConverter

The resulting type after dereferencing.

impl JniType for BidirectionalTypeConverter

Auto Trait Implementations

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.