[]Struct jni_android_sys::android::renderscript::Type

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

public class Type

Required feature: "android-renderscript-Type"

Methods

impl Type

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

getElement

Required features: "android-renderscript-Element"

pub fn getX<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn getY<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn getZ<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn getYuv<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn hasMipmaps<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn hasFaces<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn getCount<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn createX<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env RenderScript>>,
    arg1: impl Into<Option<&'env Element>>,
    arg2: i32
) -> Result<Option<Local<'env, Type>>, Local<'env, Throwable>>
[src]

createX

Required features: "android-renderscript-Element", "android-renderscript-RenderScript", "android-renderscript-Type"

pub fn createXY<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env RenderScript>>,
    arg1: impl Into<Option<&'env Element>>,
    arg2: i32,
    arg3: i32
) -> Result<Option<Local<'env, Type>>, Local<'env, Throwable>>
[src]

createXY

Required features: "android-renderscript-Element", "android-renderscript-RenderScript", "android-renderscript-Type"

pub fn createXYZ<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env RenderScript>>,
    arg1: impl Into<Option<&'env Element>>,
    arg2: i32,
    arg3: i32,
    arg4: i32
) -> Result<Option<Local<'env, Type>>, Local<'env, Throwable>>
[src]

createXYZ

Required features: "android-renderscript-Element", "android-renderscript-RenderScript", "android-renderscript-Type"

Methods from Deref<Target = BaseObj>

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

setName

Required features: "java-lang-String"

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

getName

Required features: "java-lang-String"

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

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

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

equals

Required features: "java-lang-Object"

Trait Implementations

impl AsJValue for Type

impl AsValidJObjectAndEnv for Type

impl Deref for Type

type Target = BaseObj

The resulting type after dereferencing.

impl JniType for Type

Auto Trait Implementations

impl RefUnwindSafe for Type

impl !Send for Type

impl !Sync for Type

impl Unpin for Type

impl UnwindSafe for Type

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.