Struct ndk_sys::AndroidBitmapFormat
source · #[repr(transparent)]pub struct AndroidBitmapFormat(pub c_uint);
Tuple Fields§
§0: c_uint
Implementations§
source§impl AndroidBitmapFormat
impl AndroidBitmapFormat
pub const ANDROID_BITMAP_FORMAT_NONE: AndroidBitmapFormat = _
source§impl AndroidBitmapFormat
impl AndroidBitmapFormat
pub const ANDROID_BITMAP_FORMAT_RGBA_8888: AndroidBitmapFormat = _
source§impl AndroidBitmapFormat
impl AndroidBitmapFormat
pub const ANDROID_BITMAP_FORMAT_RGB_565: AndroidBitmapFormat = _
source§impl AndroidBitmapFormat
impl AndroidBitmapFormat
pub const ANDROID_BITMAP_FORMAT_RGBA_4444: AndroidBitmapFormat = _
source§impl AndroidBitmapFormat
impl AndroidBitmapFormat
pub const ANDROID_BITMAP_FORMAT_A_8: AndroidBitmapFormat = _
source§impl AndroidBitmapFormat
impl AndroidBitmapFormat
pub const ANDROID_BITMAP_FORMAT_RGBA_F16: AndroidBitmapFormat = _
Trait Implementations§
source§impl Clone for AndroidBitmapFormat
impl Clone for AndroidBitmapFormat
source§fn clone(&self) -> AndroidBitmapFormat
fn clone(&self) -> AndroidBitmapFormat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AndroidBitmapFormat
impl Debug for AndroidBitmapFormat
source§impl Hash for AndroidBitmapFormat
impl Hash for AndroidBitmapFormat
source§impl PartialEq for AndroidBitmapFormat
impl PartialEq for AndroidBitmapFormat
source§fn eq(&self, other: &AndroidBitmapFormat) -> bool
fn eq(&self, other: &AndroidBitmapFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AndroidBitmapFormat
impl Eq for AndroidBitmapFormat
impl StructuralPartialEq for AndroidBitmapFormat
Auto Trait Implementations§
impl Freeze for AndroidBitmapFormat
impl RefUnwindSafe for AndroidBitmapFormat
impl Send for AndroidBitmapFormat
impl Sync for AndroidBitmapFormat
impl Unpin for AndroidBitmapFormat
impl UnwindSafe for AndroidBitmapFormat
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more