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