Struct objc2_app_kit::NSDragOperation
source · #[repr(transparent)]pub struct NSDragOperation(pub NSUInteger);
Available on crate feature
NSDragging
only.Tuple Fields§
§0: NSUInteger
Implementations§
source§impl NSDragOperation
impl NSDragOperation
pub const None: Self = _
pub const Copy: Self = _
pub const Link: Self = _
pub const Generic: Self = _
pub const Private: Self = _
pub const Move: Self = _
pub const Delete: Self = _
pub const Every: Self = _
pub const All_Obsolete: Self = _
👎Deprecated
pub const All: Self = _
👎Deprecated
Trait Implementations§
source§impl Clone for NSDragOperation
impl Clone for NSDragOperation
source§fn clone(&self) -> NSDragOperation
fn clone(&self) -> NSDragOperation
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 NSDragOperation
impl Debug for NSDragOperation
source§impl Encode for NSDragOperation
impl Encode for NSDragOperation
source§impl Hash for NSDragOperation
impl Hash for NSDragOperation
source§impl Ord for NSDragOperation
impl Ord for NSDragOperation
source§fn cmp(&self, other: &NSDragOperation) -> Ordering
fn cmp(&self, other: &NSDragOperation) -> 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 NSDragOperation
impl PartialEq for NSDragOperation
source§fn eq(&self, other: &NSDragOperation) -> bool
fn eq(&self, other: &NSDragOperation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSDragOperation
impl PartialOrd for NSDragOperation
source§fn partial_cmp(&self, other: &NSDragOperation) -> Option<Ordering>
fn partial_cmp(&self, other: &NSDragOperation) -> 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 NSDragOperation
impl RefEncode for NSDragOperation
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 NSDragOperation
impl Eq for NSDragOperation
impl StructuralPartialEq for NSDragOperation
Auto Trait Implementations§
impl Freeze for NSDragOperation
impl RefUnwindSafe for NSDragOperation
impl Send for NSDragOperation
impl Sync for NSDragOperation
impl Unpin for NSDragOperation
impl UnwindSafe for NSDragOperation
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.