#[repr(u64)]pub enum NSPasteboardReadingOptions {
AsData = 0,
AsString = 1,
AsPropertyList = 2,
AsKeyedArchive = 4,
}
Expand description
Options that specify how to interpret data on the pasteboard when initializing pasteboard data.
Variants§
Trait Implementations§
Source§impl Clone for NSPasteboardReadingOptions
impl Clone for NSPasteboardReadingOptions
Source§fn clone(&self) -> NSPasteboardReadingOptions
fn clone(&self) -> NSPasteboardReadingOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NSPasteboardReadingOptions
impl Debug 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 PartialOrd for NSPasteboardReadingOptions
impl PartialOrd for NSPasteboardReadingOptions
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