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