[]Struct jni_android_sys::android::graphics::PorterDuffColorFilter

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

public class PorterDuffColorFilter

Required feature: "android-graphics-PorterDuffColorFilter"

Methods

impl PorterDuffColorFilter

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

PorterDuffColorFilter

Required features: "android-graphics-PorterDuff_Mode"

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 hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

Methods from Deref<Target = ColorFilter>

Trait Implementations

impl AsJValue for PorterDuffColorFilter

impl AsValidJObjectAndEnv for PorterDuffColorFilter

impl Deref for PorterDuffColorFilter

type Target = ColorFilter

The resulting type after dereferencing.

impl JniType for PorterDuffColorFilter

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.