[−]Struct jni_android_sys::android::graphics::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]
__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>>
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]
__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>>
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]
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-graphics-Matrix"
pub fn setLocalMatrix<'env>(
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Matrix"
Trait Implementations
impl AsJValue for ComposeShader
impl AsValidJObjectAndEnv for ComposeShader
impl Deref for ComposeShader
impl JniType for ComposeShader
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for ComposeShader
impl !Send for ComposeShader
impl !Sync for ComposeShader
impl Unpin for ComposeShader
impl UnwindSafe for ComposeShader
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,