#[repr(transparent)]pub struct NSSaveOperationType(pub NSUInteger);
Available on crate feature
NSDocument
only.Expand description
Tuple Fields§
§0: NSUInteger
Implementations§
Source§impl NSSaveOperationType
impl NSSaveOperationType
pub const SaveOperation: Self
pub const SaveAsOperation: Self
pub const SaveToOperation: Self
pub const AutosaveInPlaceOperation: Self
pub const AutosaveElsewhereOperation: Self
pub const AutosaveAsOperation: Self
pub const AutosaveOperation: Self
👎Deprecated: Use NSAutosaveElsewhereOperation instead
Trait Implementations§
Source§impl Clone for NSSaveOperationType
impl Clone for NSSaveOperationType
Source§fn clone(&self) -> NSSaveOperationType
fn clone(&self) -> NSSaveOperationType
Returns a duplicate 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 NSSaveOperationType
impl Debug for NSSaveOperationType
Source§impl Encode for NSSaveOperationType
impl Encode for NSSaveOperationType
Source§impl Hash for NSSaveOperationType
impl Hash for NSSaveOperationType
Source§impl Ord for NSSaveOperationType
impl Ord for NSSaveOperationType
Source§fn cmp(&self, other: &NSSaveOperationType) -> Ordering
fn cmp(&self, other: &NSSaveOperationType) -> 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 NSSaveOperationType
impl PartialEq for NSSaveOperationType
Source§impl PartialOrd for NSSaveOperationType
impl PartialOrd for NSSaveOperationType
Source§impl RefEncode for NSSaveOperationType
impl RefEncode for NSSaveOperationType
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 NSSaveOperationType
impl Eq for NSSaveOperationType
impl StructuralPartialEq for NSSaveOperationType
Auto Trait Implementations§
impl Freeze for NSSaveOperationType
impl RefUnwindSafe for NSSaveOperationType
impl Send for NSSaveOperationType
impl Sync for NSSaveOperationType
impl Unpin for NSSaveOperationType
impl UnwindSafe for NSSaveOperationType
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.