[−]Struct jni_android_sys::android::graphics::BitmapShader
public class BitmapShader
Required feature: "android-graphics-BitmapShader"
Methods
impl BitmapShader
pub fn new<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Bitmap>>,
arg1: impl Into<Option<&'env Shader_TileMode>>,
arg2: impl Into<Option<&'env Shader_TileMode>>
) -> Result<Local<'env, BitmapShader>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Bitmap>>,
arg1: impl Into<Option<&'env Shader_TileMode>>,
arg2: impl Into<Option<&'env Shader_TileMode>>
) -> Result<Local<'env, BitmapShader>, Local<'env, Throwable>>
Required features: "android-graphics-Bitmap", "android-graphics-Shader_TileMode"
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 BitmapShader
impl AsValidJObjectAndEnv for BitmapShader
impl Deref for BitmapShader
impl JniType for BitmapShader
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for BitmapShader
impl !Send for BitmapShader
impl !Sync for BitmapShader
impl Unpin for BitmapShader
impl UnwindSafe for BitmapShader
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>,