[−]Struct jni_android_sys::android::graphics::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]
__jni_env: &'env Env
) -> Result<Local<'env, PixelFormat>, Local<'env, Throwable>>
pub fn getPixelFormatInfo<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env PixelFormat>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env PixelFormat>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-PixelFormat"
pub fn formatHasAlpha<'env>(
__jni_env: &'env Env,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub const A_8: i32
[src]
public static final A_8
pub const JPEG: i32
[src]
public static final JPEG
pub const LA_88: i32
[src]
public static final LA_88
pub const L_8: i32
[src]
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]
public static final RGBA_4444
pub const RGBA_5551: i32
[src]
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]
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]
public static final YCbCr_420_SP
pub const YCbCr_422_I: i32
[src]
public static final YCbCr_422_I
pub const YCbCr_422_SP: i32
[src]
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]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
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
impl JniType for PixelFormat
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for PixelFormat
impl !Send for PixelFormat
impl !Sync for PixelFormat
impl Unpin for PixelFormat
impl UnwindSafe for PixelFormat
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>,