Enum ndk::bitmap::BitmapError
source · #[non_exhaustive]#[repr(i32)]pub enum BitmapError {
AllocationFailed = -3,
BadParameter = -1,
JniException = -2,
}
Available on crate feature
bitmap
only.Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for BitmapError
impl Clone for BitmapError
source§fn clone(&self) -> BitmapError
fn clone(&self) -> BitmapError
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 BitmapError
impl Debug for BitmapError
source§impl Display for BitmapError
impl Display for BitmapError
source§impl Error for BitmapError
impl Error for BitmapError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<BitmapError> for BitmapCompressError
impl From<BitmapError> for BitmapCompressError
source§fn from(source: BitmapError) -> Self
fn from(source: BitmapError) -> Self
Converts to this type from the input type.
source§impl From<BitmapError> for i32
impl From<BitmapError> for i32
source§fn from(enum_value: BitmapError) -> Self
fn from(enum_value: BitmapError) -> Self
Converts to this type from the input type.
source§impl From<i32> for BitmapError
impl From<i32> for BitmapError
source§impl FromPrimitive for BitmapError
impl FromPrimitive for BitmapError
source§impl PartialEq for BitmapError
impl PartialEq for BitmapError
source§fn eq(&self, other: &BitmapError) -> bool
fn eq(&self, other: &BitmapError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BitmapError
impl Eq for BitmapError
impl StructuralPartialEq for BitmapError
Auto Trait Implementations§
impl Freeze for BitmapError
impl RefUnwindSafe for BitmapError
impl Send for BitmapError
impl Sync for BitmapError
impl Unpin for BitmapError
impl UnwindSafe for BitmapError
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