[]Struct jni_android_sys::android::graphics::PixelFormat

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

public class PixelFormat

Required feature: "android-graphics-PixelFormat"

Methods

impl PixelFormat

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, PixelFormat>, Local<'env, Throwable>>
[src]

pub fn getPixelFormatInfo<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: impl Into<Option<&'env PixelFormat>>
) -> Result<(), Local<'env, Throwable>>
[src]

getPixelFormatInfo

Required features: "android-graphics-PixelFormat"

pub fn formatHasAlpha<'env>(
    __jni_env: &'env Env,
    arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

pub const A_8: i32[src]

Deprecated

public static final A_8

pub const JPEG: i32[src]

Deprecated

public static final JPEG

pub const LA_88: i32[src]

Deprecated

public static final LA_88

pub const L_8: i32[src]

Deprecated

public static final L_8

pub const OPAQUE: i32[src]

public static final OPAQUE

pub const RGBA_1010102: i32[src]

public static final RGBA_1010102

pub const RGBA_4444: i32[src]

Deprecated

public static final RGBA_4444

pub const RGBA_5551: i32[src]

Deprecated

public static final RGBA_5551

pub const RGBA_8888: i32[src]

public static final RGBA_8888

pub const RGBA_F16: i32[src]

public static final RGBA_F16

pub const RGBX_8888: i32[src]

public static final RGBX_8888

pub const RGB_332: i32[src]

Deprecated

public static final RGB_332

pub const RGB_565: i32[src]

public static final RGB_565

pub const RGB_888: i32[src]

public static final RGB_888

pub const TRANSLUCENT: i32[src]

public static final TRANSLUCENT

pub const TRANSPARENT: i32[src]

public static final TRANSPARENT

pub const UNKNOWN: i32[src]

public static final UNKNOWN

pub const YCbCr_420_SP: i32[src]

Deprecated

public static final YCbCr_420_SP

pub const YCbCr_422_I: i32[src]

Deprecated

public static final YCbCr_422_I

pub const YCbCr_422_SP: i32[src]

Deprecated

public static final YCbCr_422_SP

pub fn bitsPerPixel<'env>(&'env self) -> i32[src]

get public bitsPerPixel

pub fn set_bitsPerPixel<'env>(&'env self, value: i32)[src]

set public bitsPerPixel

pub fn bytesPerPixel<'env>(&'env self) -> i32[src]

get public bytesPerPixel

pub fn set_bytesPerPixel<'env>(&'env self, value: i32)[src]

set public bytesPerPixel

Methods from Deref<Target = Object>

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

getClass

Required features: "java-lang-Class"

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"

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

toString

Required features: "java-lang-String"

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

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

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

Trait Implementations

impl AsJValue for PixelFormat

impl AsValidJObjectAndEnv for PixelFormat

impl Deref for PixelFormat

type Target = Object

The resulting type after dereferencing.

impl JniType for PixelFormat

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.