Struct objc2_app_kit::NSPrintingPaginationMode
source · #[repr(transparent)]pub struct NSPrintingPaginationMode(pub NSUInteger);
Available on crate feature
NSPrintInfo
only.Tuple Fields§
§0: NSUInteger
Implementations§
Trait Implementations§
source§impl Clone for NSPrintingPaginationMode
impl Clone for NSPrintingPaginationMode
source§fn clone(&self) -> NSPrintingPaginationMode
fn clone(&self) -> NSPrintingPaginationMode
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 NSPrintingPaginationMode
impl Debug for NSPrintingPaginationMode
source§impl Encode for NSPrintingPaginationMode
impl Encode for NSPrintingPaginationMode
source§impl Hash for NSPrintingPaginationMode
impl Hash for NSPrintingPaginationMode
source§impl Ord for NSPrintingPaginationMode
impl Ord for NSPrintingPaginationMode
source§fn cmp(&self, other: &NSPrintingPaginationMode) -> Ordering
fn cmp(&self, other: &NSPrintingPaginationMode) -> 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 NSPrintingPaginationMode
impl PartialEq for NSPrintingPaginationMode
source§fn eq(&self, other: &NSPrintingPaginationMode) -> bool
fn eq(&self, other: &NSPrintingPaginationMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSPrintingPaginationMode
impl PartialOrd for NSPrintingPaginationMode
source§fn partial_cmp(&self, other: &NSPrintingPaginationMode) -> Option<Ordering>
fn partial_cmp(&self, other: &NSPrintingPaginationMode) -> 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 NSPrintingPaginationMode
impl RefEncode for NSPrintingPaginationMode
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 NSPrintingPaginationMode
impl Eq for NSPrintingPaginationMode
impl StructuralPartialEq for NSPrintingPaginationMode
Auto Trait Implementations§
impl Freeze for NSPrintingPaginationMode
impl RefUnwindSafe for NSPrintingPaginationMode
impl Send for NSPrintingPaginationMode
impl Sync for NSPrintingPaginationMode
impl Unpin for NSPrintingPaginationMode
impl UnwindSafe for NSPrintingPaginationMode
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.