[]Struct jni_android_sys::android::graphics::ComposeShader

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

public class ComposeShader

Required feature: "android-graphics-ComposeShader"

Methods

impl ComposeShader

pub fn new_Shader_Shader_Xfermode<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Shader>>,
    arg1: impl Into<Option<&'env Shader>>,
    arg2: impl Into<Option<&'env Xfermode>>
) -> Result<Local<'env, ComposeShader>, Local<'env, Throwable>>
[src]

ComposeShader

Required features: "android-graphics-Shader", "android-graphics-Xfermode"

pub fn new_Shader_Shader_Mode<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Shader>>,
    arg1: impl Into<Option<&'env Shader>>,
    arg2: impl Into<Option<&'env PorterDuff_Mode>>
) -> Result<Local<'env, ComposeShader>, Local<'env, Throwable>>
[src]

ComposeShader

Required features: "android-graphics-PorterDuff_Mode", "android-graphics-Shader"

Methods from Deref<Target = Shader>

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

getLocalMatrix

Required features: "android-graphics-Matrix"

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

setLocalMatrix

Required features: "android-graphics-Matrix"

Trait Implementations

impl AsJValue for ComposeShader

impl AsValidJObjectAndEnv for ComposeShader

impl Deref for ComposeShader

type Target = Shader

The resulting type after dereferencing.

impl JniType for ComposeShader

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.