#[repr(transparent)]pub struct DrawingErrorCode(pub NonZero<c_uint>);Available on crate feature
api-12 only.Expand description
Enumerates error codes of drawing.
Available since API-level: 12
Tuple Fields§
§0: NonZero<c_uint>Implementations§
Source§impl DrawingErrorCode
impl DrawingErrorCode
Sourcepub const NO_PERMISSION: DrawingErrorCode
pub const NO_PERMISSION: DrawingErrorCode
Permission verification failed.
Sourcepub const INVALID_PARAMETER: DrawingErrorCode
pub const INVALID_PARAMETER: DrawingErrorCode
Invalid input parameter. For example, the pointer in the parameter is a nullptr.
Sourcepub const PARAMETER_OUT_OF_RANGE: DrawingErrorCode
pub const PARAMETER_OUT_OF_RANGE: DrawingErrorCode
The parameter is not in the valid range.
Sourcepub const ALLOCATION_FAILED: DrawingErrorCode
Available on crate feature api-13 only.
pub const ALLOCATION_FAILED: DrawingErrorCode
api-13 only.mem allocate failed.
Available since API-level: 13
Trait Implementations§
Source§impl Clone for DrawingErrorCode
impl Clone for DrawingErrorCode
Source§fn clone(&self) -> DrawingErrorCode
fn clone(&self) -> DrawingErrorCode
Returns a duplicate 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 DrawingErrorCode
impl Debug for DrawingErrorCode
Source§impl Hash for DrawingErrorCode
impl Hash for DrawingErrorCode
Source§impl PartialEq for DrawingErrorCode
impl PartialEq for DrawingErrorCode
impl Copy for DrawingErrorCode
impl Eq for DrawingErrorCode
impl StructuralPartialEq for DrawingErrorCode
Auto Trait Implementations§
impl Freeze for DrawingErrorCode
impl RefUnwindSafe for DrawingErrorCode
impl Send for DrawingErrorCode
impl Sync for DrawingErrorCode
impl Unpin for DrawingErrorCode
impl UnwindSafe for DrawingErrorCode
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