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