[]Struct jni_android_sys::android::renderscript::Sampler

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

public class Sampler

Required feature: "android-renderscript-Sampler"

Methods

impl Sampler

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

getMinification

Required features: "android-renderscript-Sampler_Value"

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

getMagnification

Required features: "android-renderscript-Sampler_Value"

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

getWrapS

Required features: "android-renderscript-Sampler_Value"

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

getWrapT

Required features: "android-renderscript-Sampler_Value"

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

pub fn CLAMP_NEAREST<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env RenderScript>>
) -> Result<Option<Local<'env, Sampler>>, Local<'env, Throwable>>
[src]

CLAMP_NEAREST

Required features: "android-renderscript-RenderScript", "android-renderscript-Sampler"

pub fn CLAMP_LINEAR<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env RenderScript>>
) -> Result<Option<Local<'env, Sampler>>, Local<'env, Throwable>>
[src]

CLAMP_LINEAR

Required features: "android-renderscript-RenderScript", "android-renderscript-Sampler"

pub fn CLAMP_LINEAR_MIP_LINEAR<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env RenderScript>>
) -> Result<Option<Local<'env, Sampler>>, Local<'env, Throwable>>
[src]

CLAMP_LINEAR_MIP_LINEAR

Required features: "android-renderscript-RenderScript", "android-renderscript-Sampler"

pub fn WRAP_NEAREST<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env RenderScript>>
) -> Result<Option<Local<'env, Sampler>>, Local<'env, Throwable>>
[src]

WRAP_NEAREST

Required features: "android-renderscript-RenderScript", "android-renderscript-Sampler"

pub fn WRAP_LINEAR<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env RenderScript>>
) -> Result<Option<Local<'env, Sampler>>, Local<'env, Throwable>>
[src]

WRAP_LINEAR

Required features: "android-renderscript-RenderScript", "android-renderscript-Sampler"

pub fn WRAP_LINEAR_MIP_LINEAR<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env RenderScript>>
) -> Result<Option<Local<'env, Sampler>>, Local<'env, Throwable>>
[src]

WRAP_LINEAR_MIP_LINEAR

Required features: "android-renderscript-RenderScript", "android-renderscript-Sampler"

pub fn MIRRORED_REPEAT_NEAREST<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env RenderScript>>
) -> Result<Option<Local<'env, Sampler>>, Local<'env, Throwable>>
[src]

MIRRORED_REPEAT_NEAREST

Required features: "android-renderscript-RenderScript", "android-renderscript-Sampler"

pub fn MIRRORED_REPEAT_LINEAR<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env RenderScript>>
) -> Result<Option<Local<'env, Sampler>>, Local<'env, Throwable>>
[src]

MIRRORED_REPEAT_LINEAR

Required features: "android-renderscript-RenderScript", "android-renderscript-Sampler"

pub fn MIRRORED_REPEAT_LINEAR_MIP_LINEAR<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env RenderScript>>
) -> Result<Option<Local<'env, Sampler>>, Local<'env, Throwable>>
[src]

MIRRORED_REPEAT_LINEAR_MIP_LINEAR

Required features: "android-renderscript-RenderScript", "android-renderscript-Sampler"

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 Sampler

impl AsValidJObjectAndEnv for Sampler

impl Deref for Sampler

type Target = BaseObj

The resulting type after dereferencing.

impl JniType for Sampler

Auto Trait Implementations

impl RefUnwindSafe for Sampler

impl !Send for Sampler

impl !Sync for Sampler

impl Unpin for Sampler

impl UnwindSafe for Sampler

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.