Struct objc2_ui_kit::UIPrintErrorCode
source · #[repr(transparent)]pub struct UIPrintErrorCode(pub NSInteger);
Available on crate feature
UIPrintError
only.Tuple Fields§
§0: NSInteger
Implementations§
source§impl UIPrintErrorCode
impl UIPrintErrorCode
pub const UIPrintingNotAvailableError: Self = _
pub const UIPrintNoContentError: Self = _
pub const UIPrintUnknownImageFormatError: Self = _
pub const UIPrintJobFailedError: Self = _
Trait Implementations§
source§impl Clone for UIPrintErrorCode
impl Clone for UIPrintErrorCode
source§fn clone(&self) -> UIPrintErrorCode
fn clone(&self) -> UIPrintErrorCode
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 UIPrintErrorCode
impl Debug for UIPrintErrorCode
source§impl Encode for UIPrintErrorCode
impl Encode for UIPrintErrorCode
source§impl Hash for UIPrintErrorCode
impl Hash for UIPrintErrorCode
source§impl Ord for UIPrintErrorCode
impl Ord for UIPrintErrorCode
source§fn cmp(&self, other: &UIPrintErrorCode) -> Ordering
fn cmp(&self, other: &UIPrintErrorCode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for UIPrintErrorCode
impl PartialEq for UIPrintErrorCode
source§fn eq(&self, other: &UIPrintErrorCode) -> bool
fn eq(&self, other: &UIPrintErrorCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UIPrintErrorCode
impl PartialOrd for UIPrintErrorCode
source§fn partial_cmp(&self, other: &UIPrintErrorCode) -> Option<Ordering>
fn partial_cmp(&self, other: &UIPrintErrorCode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefEncode for UIPrintErrorCode
impl RefEncode for UIPrintErrorCode
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for UIPrintErrorCode
impl Eq for UIPrintErrorCode
impl StructuralPartialEq for UIPrintErrorCode
Auto Trait Implementations§
impl Freeze for UIPrintErrorCode
impl RefUnwindSafe for UIPrintErrorCode
impl Send for UIPrintErrorCode
impl Sync for UIPrintErrorCode
impl Unpin for UIPrintErrorCode
impl UnwindSafe for UIPrintErrorCode
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
source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.