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