#[repr(C)]pub struct NSObject { /* private fields */ }
Expand description
The root class of most Objective-C class hierarchies.
This represents the NSObject
class. The name “NSObject” also
refers to a protocol, see NSObjectProtocol
for that.
This class has been defined in objc
since macOS 10.8, but is also
re-exported under objc2_foundation::NSObject
, you might want to use that
path instead.
Implementations§
Source§impl NSObject
impl NSObject
Sourcepub fn init(this: Allocated<NSObject>) -> Retained<NSObject>
pub fn init(this: Allocated<NSObject>) -> Retained<NSObject>
Initialize an already allocated object.
See Apple’s documentation for details.
§Example
use objc2::runtime::NSObject;
use objc2::AnyThread;
let obj = NSObject::init(NSObject::alloc());
Sourcepub fn doesNotRecognizeSelector(&self, sel: Sel) -> !
pub fn doesNotRecognizeSelector(&self, sel: Sel) -> !
Handle messages the object doesn’t recognize.
See Apple’s documentation for details.
Methods from Deref<Target = AnyObject>§
Sourcepub fn class(&self) -> &'static AnyClass
pub fn class(&self) -> &'static AnyClass
Dynamically find the class of this object.
§Panics
May panic if the object is invalid (which may be the case for objects
returned from unavailable init
/new
methods).
§Example
Check that an instance of NSObject
has the precise class NSObject
.
use objc2::ClassType;
use objc2::runtime::NSObject;
let obj = NSObject::new();
assert_eq!(obj.class(), NSObject::class());
Sourcepub unsafe fn get_ivar<T>(&self, name: &str) -> &Twhere
T: Encode,
👎Deprecated: this is difficult to use correctly, use Ivar::load
instead.
pub unsafe fn get_ivar<T>(&self, name: &str) -> &Twhere
T: Encode,
Ivar::load
instead.Use Ivar::load
instead.
§Safety
The object must have an instance variable with the given name, and it
must be of type T
.
See Ivar::load_ptr
for details surrounding this.
Sourcepub fn downcast_ref<T>(&self) -> Option<&T>where
T: DowncastTarget,
pub fn downcast_ref<T>(&self) -> Option<&T>where
T: DowncastTarget,
Attempt to downcast the object to a class of type T
.
This is the reference-variant. Use Retained::downcast
if you want
to convert a retained object to another type.
§Mutable classes
Some classes have immutable and mutable variants, such as NSString
and NSMutableString
.
When some Objective-C API signature says it gives you an immutable class, it generally expects you to not mutate that, even though it may technically be mutable “under the hood”.
So using this method to convert a NSString
to a NSMutableString
,
while not unsound, is generally frowned upon unless you created the
string yourself, or the API explicitly documents the string to be
mutable.
See Apple’s documentation on mutability and on
isKindOfClass:
for more details.
§Generic classes
Objective-C generics are called “lightweight generics”, and that’s because they aren’t exposed in the runtime. This makes it impossible to safely downcast to generic collections, so this is disallowed by this method.
You can, however, safely downcast to generic collections where all the
type-parameters are AnyObject
.
§Panics
This works internally by calling isKindOfClass:
. That means that the
object must have the instance method of that name, and an exception
will be thrown (if CoreFoundation is linked) or the process will abort
if that is not the case. In the vast majority of cases, you don’t need
to worry about this, since both root objects NSObject
and
NSProxy
implement this method.
§Examples
Cast an NSString
back and forth from NSObject
.
use objc2::rc::Retained;
use objc2_foundation::{NSObject, NSString};
let obj: Retained<NSObject> = NSString::new().into_super();
let string = obj.downcast_ref::<NSString>().unwrap();
// Or with `downcast`, if we do not need the object afterwards
let string = obj.downcast::<NSString>().unwrap();
Try (and fail) to cast an NSObject
to an NSString
.
use objc2_foundation::{NSObject, NSString};
let obj = NSObject::new();
assert!(obj.downcast_ref::<NSString>().is_none());
Try to cast to an array of strings.
use objc2_foundation::{NSArray, NSObject, NSString};
let arr = NSArray::from_retained_slice(&[NSObject::new()]);
// This is invalid and doesn't type check.
let arr = arr.downcast_ref::<NSArray<NSString>>();
This fails to compile, since it would require enumerating over the array to ensure that each element is of the desired type, which is a performance pitfall.
Downcast when processing each element instead.
use objc2_foundation::{NSArray, NSObject, NSString};
let arr = NSArray::from_retained_slice(&[NSObject::new()]);
for elem in arr {
if let Some(data) = elem.downcast_ref::<NSString>() {
// handle `data`
}
}
Trait Implementations§
Source§impl AsRef<NSObject> for NSAffineTransform
Available on crate feature NSAffineTransform
only.
impl AsRef<NSObject> for NSAffineTransform
NSAffineTransform
only.Source§impl AsRef<NSObject> for NSAppleEventDescriptor
Available on crate feature NSAppleEventDescriptor
only.
impl AsRef<NSObject> for NSAppleEventDescriptor
NSAppleEventDescriptor
only.Source§impl AsRef<NSObject> for NSAppleEventManager
Available on crate feature NSAppleEventManager
only.
impl AsRef<NSObject> for NSAppleEventManager
NSAppleEventManager
only.Source§impl AsRef<NSObject> for NSAppleScript
Available on crate feature NSAppleScript
only.
impl AsRef<NSObject> for NSAppleScript
NSAppleScript
only.Source§impl AsRef<NSObject> for NSArchiver
Available on crate features NSArchiver
and NSCoder
only.
impl AsRef<NSObject> for NSArchiver
NSArchiver
and NSCoder
only.Source§impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSArray<ObjectType>
Available on crate feature NSArray
only.
impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSArray<ObjectType>
NSArray
only.Source§impl AsRef<NSObject> for NSAssertionHandler
Available on crate feature NSException
only.
impl AsRef<NSObject> for NSAssertionHandler
NSException
only.Source§impl AsRef<NSObject> for NSAttributedString
Available on crate feature NSAttributedString
only.
impl AsRef<NSObject> for NSAttributedString
NSAttributedString
only.Source§impl AsRef<NSObject> for NSAttributedStringMarkdownParsingOptions
Available on crate feature NSAttributedString
only.
impl AsRef<NSObject> for NSAttributedStringMarkdownParsingOptions
NSAttributedString
only.Source§impl AsRef<NSObject> for NSAttributedStringMarkdownSourcePosition
Available on crate feature NSAttributedString
only.
impl AsRef<NSObject> for NSAttributedStringMarkdownSourcePosition
NSAttributedString
only.Source§impl AsRef<NSObject> for NSAutoreleasePool
Available on crate feature NSAutoreleasePool
only.
impl AsRef<NSObject> for NSAutoreleasePool
NSAutoreleasePool
only.Source§impl AsRef<NSObject> for NSBackgroundActivityScheduler
Available on crate feature NSBackgroundActivityScheduler
only.
impl AsRef<NSObject> for NSBackgroundActivityScheduler
NSBackgroundActivityScheduler
only.Source§impl AsRef<NSObject> for NSBlockOperation
Available on crate feature NSOperation
only.
impl AsRef<NSObject> for NSBlockOperation
NSOperation
only.Source§impl AsRef<NSObject> for NSBundleResourceRequest
Available on crate feature NSBundle
only.
impl AsRef<NSObject> for NSBundleResourceRequest
NSBundle
only.Source§impl AsRef<NSObject> for NSByteCountFormatter
Available on crate features NSByteCountFormatter
and NSFormatter
only.
impl AsRef<NSObject> for NSByteCountFormatter
NSByteCountFormatter
and NSFormatter
only.Source§impl<KeyType: ?Sized + Message, ObjectType: ?Sized + Message> AsRef<NSObject> for NSCache<KeyType, ObjectType>
Available on crate feature NSCache
only.
impl<KeyType: ?Sized + Message, ObjectType: ?Sized + Message> AsRef<NSObject> for NSCache<KeyType, ObjectType>
NSCache
only.Source§impl AsRef<NSObject> for NSCachedURLResponse
Available on crate feature NSURLCache
only.
impl AsRef<NSObject> for NSCachedURLResponse
NSURLCache
only.Source§impl AsRef<NSObject> for NSCalendar
Available on crate feature NSCalendar
only.
impl AsRef<NSObject> for NSCalendar
NSCalendar
only.Source§impl AsRef<NSObject> for NSCalendarDate
Available on crate features NSCalendarDate
and NSDate
only.
impl AsRef<NSObject> for NSCalendarDate
NSCalendarDate
and NSDate
only.Source§impl AsRef<NSObject> for NSCharacterSet
Available on crate feature NSCharacterSet
only.
impl AsRef<NSObject> for NSCharacterSet
NSCharacterSet
only.Source§impl AsRef<NSObject> for NSClassDescription
Available on crate feature NSClassDescription
only.
impl AsRef<NSObject> for NSClassDescription
NSClassDescription
only.Source§impl AsRef<NSObject> for NSCloneCommand
Available on crate features NSScriptStandardSuiteCommands
and NSScriptCommand
only.
impl AsRef<NSObject> for NSCloneCommand
NSScriptStandardSuiteCommands
and NSScriptCommand
only.Source§impl AsRef<NSObject> for NSCloseCommand
Available on crate features NSScriptStandardSuiteCommands
and NSScriptCommand
only.
impl AsRef<NSObject> for NSCloseCommand
NSScriptStandardSuiteCommands
and NSScriptCommand
only.Source§impl AsRef<NSObject> for NSComparisonPredicate
Available on crate features NSComparisonPredicate
and NSPredicate
only.
impl AsRef<NSObject> for NSComparisonPredicate
NSComparisonPredicate
and NSPredicate
only.Source§impl AsRef<NSObject> for NSCompoundPredicate
Available on crate features NSCompoundPredicate
and NSPredicate
only.
impl AsRef<NSObject> for NSCompoundPredicate
NSCompoundPredicate
and NSPredicate
only.Source§impl AsRef<NSObject> for NSCondition
Available on crate feature NSLock
only.
impl AsRef<NSObject> for NSCondition
NSLock
only.Source§impl AsRef<NSObject> for NSConditionLock
Available on crate feature NSLock
only.
impl AsRef<NSObject> for NSConditionLock
NSLock
only.Source§impl AsRef<NSObject> for NSConnection
Available on crate feature NSConnection
only.
impl AsRef<NSObject> for NSConnection
NSConnection
only.Source§impl AsRef<NSObject> for NSConstantString
Available on crate feature NSString
only.
impl AsRef<NSObject> for NSConstantString
NSString
only.Source§impl AsRef<NSObject> for NSCountCommand
Available on crate features NSScriptStandardSuiteCommands
and NSScriptCommand
only.
impl AsRef<NSObject> for NSCountCommand
NSScriptStandardSuiteCommands
and NSScriptCommand
only.Source§impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSCountedSet<ObjectType>
Available on crate feature NSSet
only.
impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSCountedSet<ObjectType>
NSSet
only.Source§impl AsRef<NSObject> for NSCreateCommand
Available on crate features NSScriptStandardSuiteCommands
and NSScriptCommand
only.
impl AsRef<NSObject> for NSCreateCommand
NSScriptStandardSuiteCommands
and NSScriptCommand
only.Source§impl AsRef<NSObject> for NSDataDetector
Available on crate feature NSRegularExpression
only.
impl AsRef<NSObject> for NSDataDetector
NSRegularExpression
only.Source§impl AsRef<NSObject> for NSDateComponents
Available on crate feature NSCalendar
only.
impl AsRef<NSObject> for NSDateComponents
NSCalendar
only.Source§impl AsRef<NSObject> for NSDateComponentsFormatter
Available on crate features NSDateComponentsFormatter
and NSFormatter
only.
impl AsRef<NSObject> for NSDateComponentsFormatter
NSDateComponentsFormatter
and NSFormatter
only.Source§impl AsRef<NSObject> for NSDateFormatter
Available on crate features NSDateFormatter
and NSFormatter
only.
impl AsRef<NSObject> for NSDateFormatter
NSDateFormatter
and NSFormatter
only.Source§impl AsRef<NSObject> for NSDateInterval
Available on crate feature NSDateInterval
only.
impl AsRef<NSObject> for NSDateInterval
NSDateInterval
only.Source§impl AsRef<NSObject> for NSDateIntervalFormatter
Available on crate features NSDateIntervalFormatter
and NSFormatter
only.
impl AsRef<NSObject> for NSDateIntervalFormatter
NSDateIntervalFormatter
and NSFormatter
only.Source§impl AsRef<NSObject> for NSDecimalNumber
Available on crate features NSDecimalNumber
and NSValue
only.
impl AsRef<NSObject> for NSDecimalNumber
NSDecimalNumber
and NSValue
only.Source§impl AsRef<NSObject> for NSDecimalNumberHandler
Available on crate feature NSDecimalNumber
only.
impl AsRef<NSObject> for NSDecimalNumberHandler
NSDecimalNumber
only.Source§impl AsRef<NSObject> for NSDeleteCommand
Available on crate features NSScriptStandardSuiteCommands
and NSScriptCommand
only.
impl AsRef<NSObject> for NSDeleteCommand
NSScriptStandardSuiteCommands
and NSScriptCommand
only.Source§impl<KeyType: ?Sized + Message, ObjectType: ?Sized + Message> AsRef<NSObject> for NSDictionary<KeyType, ObjectType>
Available on crate feature NSDictionary
only.
impl<KeyType: ?Sized + Message, ObjectType: ?Sized + Message> AsRef<NSObject> for NSDictionary<KeyType, ObjectType>
NSDictionary
only.Source§impl AsRef<NSObject> for NSDimension
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSDimension
NSUnit
only.Source§impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSDirectoryEnumerator<ObjectType>
Available on crate features NSFileManager
and NSEnumerator
only.
impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSDirectoryEnumerator<ObjectType>
NSFileManager
and NSEnumerator
only.Source§impl AsRef<NSObject> for NSDistantObjectRequest
Available on crate feature NSConnection
only.
impl AsRef<NSObject> for NSDistantObjectRequest
NSConnection
only.Source§impl AsRef<NSObject> for NSDistributedLock
Available on crate feature NSDistributedLock
only.
impl AsRef<NSObject> for NSDistributedLock
NSDistributedLock
only.Source§impl AsRef<NSObject> for NSDistributedNotificationCenter
Available on crate features NSDistributedNotificationCenter
and NSNotification
only.
impl AsRef<NSObject> for NSDistributedNotificationCenter
NSDistributedNotificationCenter
and NSNotification
only.Source§impl AsRef<NSObject> for NSEnergyFormatter
Available on crate features NSEnergyFormatter
and NSFormatter
only.
impl AsRef<NSObject> for NSEnergyFormatter
NSEnergyFormatter
and NSFormatter
only.Source§impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSEnumerator<ObjectType>
Available on crate feature NSEnumerator
only.
impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSEnumerator<ObjectType>
NSEnumerator
only.Source§impl AsRef<NSObject> for NSException
Available on crate feature NSException
only.
impl AsRef<NSObject> for NSException
NSException
only.Source§impl AsRef<NSObject> for NSExistsCommand
Available on crate features NSScriptStandardSuiteCommands
and NSScriptCommand
only.
impl AsRef<NSObject> for NSExistsCommand
NSScriptStandardSuiteCommands
and NSScriptCommand
only.Source§impl AsRef<NSObject> for NSExpression
Available on crate feature NSExpression
only.
impl AsRef<NSObject> for NSExpression
NSExpression
only.Source§impl AsRef<NSObject> for NSExtensionContext
Available on crate feature NSExtensionContext
only.
impl AsRef<NSObject> for NSExtensionContext
NSExtensionContext
only.Source§impl AsRef<NSObject> for NSExtensionItem
Available on crate feature NSExtensionItem
only.
impl AsRef<NSObject> for NSExtensionItem
NSExtensionItem
only.Source§impl AsRef<NSObject> for NSFileAccessIntent
Available on crate feature NSFileCoordinator
only.
impl AsRef<NSObject> for NSFileAccessIntent
NSFileCoordinator
only.Source§impl AsRef<NSObject> for NSFileCoordinator
Available on crate feature NSFileCoordinator
only.
impl AsRef<NSObject> for NSFileCoordinator
NSFileCoordinator
only.Source§impl AsRef<NSObject> for NSFileHandle
Available on crate feature NSFileHandle
only.
impl AsRef<NSObject> for NSFileHandle
NSFileHandle
only.Source§impl AsRef<NSObject> for NSFileManager
Available on crate feature NSFileManager
only.
impl AsRef<NSObject> for NSFileManager
NSFileManager
only.Source§impl AsRef<NSObject> for NSFileProviderService
Available on crate feature NSFileManager
only.
impl AsRef<NSObject> for NSFileProviderService
NSFileManager
only.Source§impl AsRef<NSObject> for NSFileSecurity
Available on crate feature NSURL
only.
impl AsRef<NSObject> for NSFileSecurity
NSURL
only.Source§impl AsRef<NSObject> for NSFileVersion
Available on crate feature NSFileVersion
only.
impl AsRef<NSObject> for NSFileVersion
NSFileVersion
only.Source§impl AsRef<NSObject> for NSFileWrapper
Available on crate feature NSFileWrapper
only.
impl AsRef<NSObject> for NSFileWrapper
NSFileWrapper
only.Source§impl AsRef<NSObject> for NSFormatter
Available on crate feature NSFormatter
only.
impl AsRef<NSObject> for NSFormatter
NSFormatter
only.Source§impl AsRef<NSObject> for NSGarbageCollector
Available on crate feature NSGarbageCollector
only.
impl AsRef<NSObject> for NSGarbageCollector
NSGarbageCollector
only.Source§impl AsRef<NSObject> for NSGetCommand
Available on crate features NSScriptStandardSuiteCommands
and NSScriptCommand
only.
impl AsRef<NSObject> for NSGetCommand
NSScriptStandardSuiteCommands
and NSScriptCommand
only.Source§impl AsRef<NSObject> for NSHTTPCookie
Available on crate feature NSHTTPCookie
only.
impl AsRef<NSObject> for NSHTTPCookie
NSHTTPCookie
only.Source§impl AsRef<NSObject> for NSHTTPCookieStorage
Available on crate feature NSHTTPCookieStorage
only.
impl AsRef<NSObject> for NSHTTPCookieStorage
NSHTTPCookieStorage
only.Source§impl AsRef<NSObject> for NSHTTPURLResponse
Available on crate feature NSURLResponse
only.
impl AsRef<NSObject> for NSHTTPURLResponse
NSURLResponse
only.Source§impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSHashTable<ObjectType>
Available on crate feature NSHashTable
only.
impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSHashTable<ObjectType>
NSHashTable
only.Source§impl AsRef<NSObject> for NSISO8601DateFormatter
Available on crate features NSISO8601DateFormatter
and NSFormatter
only.
impl AsRef<NSObject> for NSISO8601DateFormatter
NSISO8601DateFormatter
and NSFormatter
only.Source§impl AsRef<NSObject> for NSIndexPath
Available on crate feature NSIndexPath
only.
impl AsRef<NSObject> for NSIndexPath
NSIndexPath
only.Source§impl AsRef<NSObject> for NSIndexSet
Available on crate feature NSIndexSet
only.
impl AsRef<NSObject> for NSIndexSet
NSIndexSet
only.Source§impl AsRef<NSObject> for NSIndexSpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl AsRef<NSObject> for NSIndexSpecifier
NSScriptObjectSpecifiers
only.Source§impl AsRef<NSObject> for NSInflectionRule
Available on crate feature NSInflectionRule
only.
impl AsRef<NSObject> for NSInflectionRule
NSInflectionRule
only.Source§impl AsRef<NSObject> for NSInflectionRuleExplicit
Available on crate feature NSInflectionRule
only.
impl AsRef<NSObject> for NSInflectionRuleExplicit
NSInflectionRule
only.Source§impl AsRef<NSObject> for NSInputStream
Available on crate feature NSStream
only.
impl AsRef<NSObject> for NSInputStream
NSStream
only.Source§impl AsRef<NSObject> for NSInvocation
Available on crate feature NSInvocation
only.
impl AsRef<NSObject> for NSInvocation
NSInvocation
only.Source§impl AsRef<NSObject> for NSInvocationOperation
Available on crate feature NSOperation
only.
impl AsRef<NSObject> for NSInvocationOperation
NSOperation
only.Source§impl AsRef<NSObject> for NSItemProvider
Available on crate feature NSItemProvider
only.
impl AsRef<NSObject> for NSItemProvider
NSItemProvider
only.Source§impl AsRef<NSObject> for NSJSONSerialization
Available on crate feature NSJSONSerialization
only.
impl AsRef<NSObject> for NSJSONSerialization
NSJSONSerialization
only.Source§impl AsRef<NSObject> for NSKeyedArchiver
Available on crate features NSKeyedArchiver
and NSCoder
only.
impl AsRef<NSObject> for NSKeyedArchiver
NSKeyedArchiver
and NSCoder
only.Source§impl AsRef<NSObject> for NSKeyedUnarchiver
Available on crate features NSKeyedArchiver
and NSCoder
only.
impl AsRef<NSObject> for NSKeyedUnarchiver
NSKeyedArchiver
and NSCoder
only.Source§impl AsRef<NSObject> for NSLengthFormatter
Available on crate features NSLengthFormatter
and NSFormatter
only.
impl AsRef<NSObject> for NSLengthFormatter
NSLengthFormatter
and NSFormatter
only.Source§impl AsRef<NSObject> for NSLinguisticTagger
Available on crate feature NSLinguisticTagger
only.
impl AsRef<NSObject> for NSLinguisticTagger
NSLinguisticTagger
only.Source§impl AsRef<NSObject> for NSListFormatter
Available on crate features NSListFormatter
and NSFormatter
only.
impl AsRef<NSObject> for NSListFormatter
NSListFormatter
and NSFormatter
only.Source§impl AsRef<NSObject> for NSLocalizedNumberFormatRule
Available on crate feature NSLocalizedNumberFormatRule
only.
impl AsRef<NSObject> for NSLocalizedNumberFormatRule
NSLocalizedNumberFormatRule
only.Source§impl AsRef<NSObject> for NSLogicalTest
Available on crate feature NSScriptWhoseTests
only.
impl AsRef<NSObject> for NSLogicalTest
NSScriptWhoseTests
only.Source§impl AsRef<NSObject> for NSMachBootstrapServer
Available on crate feature NSPortNameServer
only.
impl AsRef<NSObject> for NSMachBootstrapServer
NSPortNameServer
only.Source§impl AsRef<NSObject> for NSMachPort
Available on crate feature NSPort
only.
impl AsRef<NSObject> for NSMachPort
NSPort
only.Source§impl<KeyType: ?Sized + Message, ObjectType: ?Sized + Message> AsRef<NSObject> for NSMapTable<KeyType, ObjectType>
Available on crate feature NSMapTable
only.
impl<KeyType: ?Sized + Message, ObjectType: ?Sized + Message> AsRef<NSObject> for NSMapTable<KeyType, ObjectType>
NSMapTable
only.Source§impl AsRef<NSObject> for NSMassFormatter
Available on crate features NSMassFormatter
and NSFormatter
only.
impl AsRef<NSObject> for NSMassFormatter
NSMassFormatter
and NSFormatter
only.Source§impl<UnitType: ?Sized + Message> AsRef<NSObject> for NSMeasurement<UnitType>
Available on crate feature NSMeasurement
only.
impl<UnitType: ?Sized + Message> AsRef<NSObject> for NSMeasurement<UnitType>
NSMeasurement
only.Source§impl AsRef<NSObject> for NSMeasurementFormatter
Available on crate features NSMeasurementFormatter
and NSFormatter
only.
impl AsRef<NSObject> for NSMeasurementFormatter
NSMeasurementFormatter
and NSFormatter
only.Source§impl AsRef<NSObject> for NSMessagePort
Available on crate feature NSPort
only.
impl AsRef<NSObject> for NSMessagePort
NSPort
only.Source§impl AsRef<NSObject> for NSMessagePortNameServer
Available on crate feature NSPortNameServer
only.
impl AsRef<NSObject> for NSMessagePortNameServer
NSPortNameServer
only.Source§impl AsRef<NSObject> for NSMetadataItem
Available on crate feature NSMetadata
only.
impl AsRef<NSObject> for NSMetadataItem
NSMetadata
only.Source§impl AsRef<NSObject> for NSMetadataQuery
Available on crate feature NSMetadata
only.
impl AsRef<NSObject> for NSMetadataQuery
NSMetadata
only.Source§impl AsRef<NSObject> for NSMetadataQueryAttributeValueTuple
Available on crate feature NSMetadata
only.
impl AsRef<NSObject> for NSMetadataQueryAttributeValueTuple
NSMetadata
only.Source§impl AsRef<NSObject> for NSMetadataQueryResultGroup
Available on crate feature NSMetadata
only.
impl AsRef<NSObject> for NSMetadataQueryResultGroup
NSMetadata
only.Source§impl AsRef<NSObject> for NSMethodSignature
Available on crate feature NSMethodSignature
only.
impl AsRef<NSObject> for NSMethodSignature
NSMethodSignature
only.Source§impl AsRef<NSObject> for NSMiddleSpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl AsRef<NSObject> for NSMiddleSpecifier
NSScriptObjectSpecifiers
only.Source§impl AsRef<NSObject> for NSMorphology
Available on crate feature NSMorphology
only.
impl AsRef<NSObject> for NSMorphology
NSMorphology
only.Source§impl AsRef<NSObject> for NSMorphologyCustomPronoun
Available on crate feature NSMorphology
only.
impl AsRef<NSObject> for NSMorphologyCustomPronoun
NSMorphology
only.Source§impl AsRef<NSObject> for NSMorphologyPronoun
Available on crate feature NSMorphology
only.
impl AsRef<NSObject> for NSMorphologyPronoun
NSMorphology
only.Source§impl AsRef<NSObject> for NSMoveCommand
Available on crate features NSScriptStandardSuiteCommands
and NSScriptCommand
only.
impl AsRef<NSObject> for NSMoveCommand
NSScriptStandardSuiteCommands
and NSScriptCommand
only.Source§impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSMutableArray<ObjectType>
Available on crate feature NSArray
only.
impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSMutableArray<ObjectType>
NSArray
only.Source§impl AsRef<NSObject> for NSMutableAttributedString
Available on crate feature NSAttributedString
only.
impl AsRef<NSObject> for NSMutableAttributedString
NSAttributedString
only.Source§impl AsRef<NSObject> for NSMutableCharacterSet
Available on crate feature NSCharacterSet
only.
impl AsRef<NSObject> for NSMutableCharacterSet
NSCharacterSet
only.Source§impl AsRef<NSObject> for NSMutableData
Available on crate feature NSData
only.
impl AsRef<NSObject> for NSMutableData
NSData
only.Source§impl<KeyType: ?Sized + Message, ObjectType: ?Sized + Message> AsRef<NSObject> for NSMutableDictionary<KeyType, ObjectType>
Available on crate feature NSDictionary
only.
impl<KeyType: ?Sized + Message, ObjectType: ?Sized + Message> AsRef<NSObject> for NSMutableDictionary<KeyType, ObjectType>
NSDictionary
only.Source§impl AsRef<NSObject> for NSMutableIndexSet
Available on crate feature NSIndexSet
only.
impl AsRef<NSObject> for NSMutableIndexSet
NSIndexSet
only.Source§impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSMutableOrderedSet<ObjectType>
Available on crate feature NSOrderedSet
only.
impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSMutableOrderedSet<ObjectType>
NSOrderedSet
only.Source§impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSMutableSet<ObjectType>
Available on crate feature NSSet
only.
impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSMutableSet<ObjectType>
NSSet
only.Source§impl AsRef<NSObject> for NSMutableString
Available on crate feature NSString
only.
impl AsRef<NSObject> for NSMutableString
NSString
only.Source§impl AsRef<NSObject> for NSMutableURLRequest
Available on crate feature NSURLRequest
only.
impl AsRef<NSObject> for NSMutableURLRequest
NSURLRequest
only.Source§impl AsRef<NSObject> for NSNameSpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl AsRef<NSObject> for NSNameSpecifier
NSScriptObjectSpecifiers
only.Source§impl AsRef<NSObject> for NSNetService
Available on crate feature NSNetServices
only.
impl AsRef<NSObject> for NSNetService
NSNetServices
only.Source§impl AsRef<NSObject> for NSNetServiceBrowser
Available on crate feature NSNetServices
only.
impl AsRef<NSObject> for NSNetServiceBrowser
NSNetServices
only.Source§impl AsRef<NSObject> for NSNotification
Available on crate feature NSNotification
only.
impl AsRef<NSObject> for NSNotification
NSNotification
only.Source§impl AsRef<NSObject> for NSNotificationCenter
Available on crate feature NSNotification
only.
impl AsRef<NSObject> for NSNotificationCenter
NSNotification
only.Source§impl AsRef<NSObject> for NSNotificationQueue
Available on crate feature NSNotificationQueue
only.
impl AsRef<NSObject> for NSNotificationQueue
NSNotificationQueue
only.Source§impl AsRef<NSObject> for NSNumberFormatter
Available on crate features NSNumberFormatter
and NSFormatter
only.
impl AsRef<NSObject> for NSNumberFormatter
NSNumberFormatter
and NSFormatter
only.Source§impl AsRef<NSObject> for NSOperation
Available on crate feature NSOperation
only.
impl AsRef<NSObject> for NSOperation
NSOperation
only.Source§impl AsRef<NSObject> for NSOperationQueue
Available on crate feature NSOperation
only.
impl AsRef<NSObject> for NSOperationQueue
NSOperation
only.Source§impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSOrderedCollectionChange<ObjectType>
Available on crate feature NSOrderedCollectionChange
only.
impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSOrderedCollectionChange<ObjectType>
NSOrderedCollectionChange
only.Source§impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSOrderedCollectionDifference<ObjectType>
Available on crate feature NSOrderedCollectionDifference
only.
impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSOrderedCollectionDifference<ObjectType>
NSOrderedCollectionDifference
only.Source§impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSOrderedSet<ObjectType>
Available on crate feature NSOrderedSet
only.
impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSOrderedSet<ObjectType>
NSOrderedSet
only.Source§impl AsRef<NSObject> for NSOrthography
Available on crate feature NSOrthography
only.
impl AsRef<NSObject> for NSOrthography
NSOrthography
only.Source§impl AsRef<NSObject> for NSOutputStream
Available on crate feature NSStream
only.
impl AsRef<NSObject> for NSOutputStream
NSStream
only.Source§impl AsRef<NSObject> for NSPersonNameComponents
Available on crate feature NSPersonNameComponents
only.
impl AsRef<NSObject> for NSPersonNameComponents
NSPersonNameComponents
only.Source§impl AsRef<NSObject> for NSPersonNameComponentsFormatter
Available on crate features NSPersonNameComponentsFormatter
and NSFormatter
only.
impl AsRef<NSObject> for NSPersonNameComponentsFormatter
NSPersonNameComponentsFormatter
and NSFormatter
only.Source§impl AsRef<NSObject> for NSPointerArray
Available on crate feature NSPointerArray
only.
impl AsRef<NSObject> for NSPointerArray
NSPointerArray
only.Source§impl AsRef<NSObject> for NSPointerFunctions
Available on crate feature NSPointerFunctions
only.
impl AsRef<NSObject> for NSPointerFunctions
NSPointerFunctions
only.Source§impl AsRef<NSObject> for NSPortCoder
Available on crate features NSPortCoder
and NSCoder
only.
impl AsRef<NSObject> for NSPortCoder
NSPortCoder
and NSCoder
only.Source§impl AsRef<NSObject> for NSPortMessage
Available on crate feature NSPortMessage
only.
impl AsRef<NSObject> for NSPortMessage
NSPortMessage
only.Source§impl AsRef<NSObject> for NSPortNameServer
Available on crate feature NSPortNameServer
only.
impl AsRef<NSObject> for NSPortNameServer
NSPortNameServer
only.Source§impl AsRef<NSObject> for NSPositionalSpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl AsRef<NSObject> for NSPositionalSpecifier
NSScriptObjectSpecifiers
only.Source§impl AsRef<NSObject> for NSPredicate
Available on crate feature NSPredicate
only.
impl AsRef<NSObject> for NSPredicate
NSPredicate
only.Source§impl AsRef<NSObject> for NSPresentationIntent
Available on crate feature NSAttributedString
only.
impl AsRef<NSObject> for NSPresentationIntent
NSAttributedString
only.Source§impl AsRef<NSObject> for NSProcessInfo
Available on crate feature NSProcessInfo
only.
impl AsRef<NSObject> for NSProcessInfo
NSProcessInfo
only.Source§impl AsRef<NSObject> for NSProgress
Available on crate feature NSProgress
only.
impl AsRef<NSObject> for NSProgress
NSProgress
only.Source§impl AsRef<NSObject> for NSPropertyListSerialization
Available on crate feature NSPropertyList
only.
impl AsRef<NSObject> for NSPropertyListSerialization
NSPropertyList
only.Source§impl AsRef<NSObject> for NSPropertySpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl AsRef<NSObject> for NSPropertySpecifier
NSScriptObjectSpecifiers
only.Source§impl AsRef<NSObject> for NSPurgeableData
Available on crate feature NSData
only.
impl AsRef<NSObject> for NSPurgeableData
NSData
only.Source§impl AsRef<NSObject> for NSQuitCommand
Available on crate features NSScriptStandardSuiteCommands
and NSScriptCommand
only.
impl AsRef<NSObject> for NSQuitCommand
NSScriptStandardSuiteCommands
and NSScriptCommand
only.Source§impl AsRef<NSObject> for NSRandomSpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl AsRef<NSObject> for NSRandomSpecifier
NSScriptObjectSpecifiers
only.Source§impl AsRef<NSObject> for NSRangeSpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl AsRef<NSObject> for NSRangeSpecifier
NSScriptObjectSpecifiers
only.Source§impl AsRef<NSObject> for NSRecursiveLock
Available on crate feature NSLock
only.
impl AsRef<NSObject> for NSRecursiveLock
NSLock
only.Source§impl AsRef<NSObject> for NSRegularExpression
Available on crate feature NSRegularExpression
only.
impl AsRef<NSObject> for NSRegularExpression
NSRegularExpression
only.Source§impl AsRef<NSObject> for NSRelativeDateTimeFormatter
Available on crate features NSRelativeDateTimeFormatter
and NSFormatter
only.
impl AsRef<NSObject> for NSRelativeDateTimeFormatter
NSRelativeDateTimeFormatter
and NSFormatter
only.Source§impl AsRef<NSObject> for NSRelativeSpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl AsRef<NSObject> for NSRelativeSpecifier
NSScriptObjectSpecifiers
only.Source§impl AsRef<NSObject> for NSScriptClassDescription
Available on crate features NSScriptClassDescription
and NSClassDescription
only.
impl AsRef<NSObject> for NSScriptClassDescription
NSScriptClassDescription
and NSClassDescription
only.Source§impl AsRef<NSObject> for NSScriptCoercionHandler
Available on crate feature NSScriptCoercionHandler
only.
impl AsRef<NSObject> for NSScriptCoercionHandler
NSScriptCoercionHandler
only.Source§impl AsRef<NSObject> for NSScriptCommand
Available on crate feature NSScriptCommand
only.
impl AsRef<NSObject> for NSScriptCommand
NSScriptCommand
only.Source§impl AsRef<NSObject> for NSScriptCommandDescription
Available on crate feature NSScriptCommandDescription
only.
impl AsRef<NSObject> for NSScriptCommandDescription
NSScriptCommandDescription
only.Source§impl AsRef<NSObject> for NSScriptExecutionContext
Available on crate feature NSScriptExecutionContext
only.
impl AsRef<NSObject> for NSScriptExecutionContext
NSScriptExecutionContext
only.Source§impl AsRef<NSObject> for NSScriptObjectSpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl AsRef<NSObject> for NSScriptObjectSpecifier
NSScriptObjectSpecifiers
only.Source§impl AsRef<NSObject> for NSScriptSuiteRegistry
Available on crate feature NSScriptSuiteRegistry
only.
impl AsRef<NSObject> for NSScriptSuiteRegistry
NSScriptSuiteRegistry
only.Source§impl AsRef<NSObject> for NSScriptWhoseTest
Available on crate feature NSScriptWhoseTests
only.
impl AsRef<NSObject> for NSScriptWhoseTest
NSScriptWhoseTests
only.Source§impl AsRef<NSObject> for NSSecureUnarchiveFromDataTransformer
Available on crate feature NSValueTransformer
only.
impl AsRef<NSObject> for NSSecureUnarchiveFromDataTransformer
NSValueTransformer
only.Source§impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSSet<ObjectType>
Available on crate feature NSSet
only.
impl<ObjectType: ?Sized + Message> AsRef<NSObject> for NSSet<ObjectType>
NSSet
only.Source§impl AsRef<NSObject> for NSSetCommand
Available on crate features NSScriptStandardSuiteCommands
and NSScriptCommand
only.
impl AsRef<NSObject> for NSSetCommand
NSScriptStandardSuiteCommands
and NSScriptCommand
only.Source§impl AsRef<NSObject> for NSSimpleCString
Available on crate feature NSString
only.
impl AsRef<NSObject> for NSSimpleCString
NSString
only.Source§impl AsRef<NSObject> for NSSocketPort
Available on crate feature NSPort
only.
impl AsRef<NSObject> for NSSocketPort
NSPort
only.Source§impl AsRef<NSObject> for NSSocketPortNameServer
Available on crate feature NSPortNameServer
only.
impl AsRef<NSObject> for NSSocketPortNameServer
NSPortNameServer
only.Source§impl AsRef<NSObject> for NSSortDescriptor
Available on crate feature NSSortDescriptor
only.
impl AsRef<NSObject> for NSSortDescriptor
NSSortDescriptor
only.Source§impl AsRef<NSObject> for NSSpecifierTest
Available on crate feature NSScriptWhoseTests
only.
impl AsRef<NSObject> for NSSpecifierTest
NSScriptWhoseTests
only.Source§impl AsRef<NSObject> for NSSpellServer
Available on crate feature NSSpellServer
only.
impl AsRef<NSObject> for NSSpellServer
NSSpellServer
only.Source§impl AsRef<NSObject> for NSTermOfAddress
Available on crate feature NSTermOfAddress
only.
impl AsRef<NSObject> for NSTermOfAddress
NSTermOfAddress
only.Source§impl AsRef<NSObject> for NSTextCheckingResult
Available on crate feature NSTextCheckingResult
only.
impl AsRef<NSObject> for NSTextCheckingResult
NSTextCheckingResult
only.Source§impl AsRef<NSObject> for NSTimeZone
Available on crate feature NSTimeZone
only.
impl AsRef<NSObject> for NSTimeZone
NSTimeZone
only.Source§impl AsRef<NSObject> for NSURLAuthenticationChallenge
Available on crate feature NSURLAuthenticationChallenge
only.
impl AsRef<NSObject> for NSURLAuthenticationChallenge
NSURLAuthenticationChallenge
only.Source§impl AsRef<NSObject> for NSURLCache
Available on crate feature NSURLCache
only.
impl AsRef<NSObject> for NSURLCache
NSURLCache
only.Source§impl AsRef<NSObject> for NSURLComponents
Available on crate feature NSURL
only.
impl AsRef<NSObject> for NSURLComponents
NSURL
only.Source§impl AsRef<NSObject> for NSURLConnection
Available on crate feature NSURLConnection
only.
impl AsRef<NSObject> for NSURLConnection
NSURLConnection
only.Source§impl AsRef<NSObject> for NSURLCredential
Available on crate feature NSURLCredential
only.
impl AsRef<NSObject> for NSURLCredential
NSURLCredential
only.Source§impl AsRef<NSObject> for NSURLCredentialStorage
Available on crate feature NSURLCredentialStorage
only.
impl AsRef<NSObject> for NSURLCredentialStorage
NSURLCredentialStorage
only.Source§impl AsRef<NSObject> for NSURLDownload
Available on crate feature NSURLDownload
only.
impl AsRef<NSObject> for NSURLDownload
NSURLDownload
only.Source§impl AsRef<NSObject> for NSURLHandle
Available on crate feature NSURLHandle
only.
impl AsRef<NSObject> for NSURLHandle
NSURLHandle
only.Source§impl AsRef<NSObject> for NSURLProtectionSpace
Available on crate feature NSURLProtectionSpace
only.
impl AsRef<NSObject> for NSURLProtectionSpace
NSURLProtectionSpace
only.Source§impl AsRef<NSObject> for NSURLProtocol
Available on crate feature NSURLProtocol
only.
impl AsRef<NSObject> for NSURLProtocol
NSURLProtocol
only.Source§impl AsRef<NSObject> for NSURLQueryItem
Available on crate feature NSURL
only.
impl AsRef<NSObject> for NSURLQueryItem
NSURL
only.Source§impl AsRef<NSObject> for NSURLRequest
Available on crate feature NSURLRequest
only.
impl AsRef<NSObject> for NSURLRequest
NSURLRequest
only.Source§impl AsRef<NSObject> for NSURLResponse
Available on crate feature NSURLResponse
only.
impl AsRef<NSObject> for NSURLResponse
NSURLResponse
only.Source§impl AsRef<NSObject> for NSURLSession
Available on crate feature NSURLSession
only.
impl AsRef<NSObject> for NSURLSession
NSURLSession
only.Source§impl AsRef<NSObject> for NSURLSessionConfiguration
Available on crate feature NSURLSession
only.
impl AsRef<NSObject> for NSURLSessionConfiguration
NSURLSession
only.Source§impl AsRef<NSObject> for NSURLSessionDataTask
Available on crate feature NSURLSession
only.
impl AsRef<NSObject> for NSURLSessionDataTask
NSURLSession
only.Source§impl AsRef<NSObject> for NSURLSessionDownloadTask
Available on crate feature NSURLSession
only.
impl AsRef<NSObject> for NSURLSessionDownloadTask
NSURLSession
only.Source§impl AsRef<NSObject> for NSURLSessionStreamTask
Available on crate feature NSURLSession
only.
impl AsRef<NSObject> for NSURLSessionStreamTask
NSURLSession
only.Source§impl AsRef<NSObject> for NSURLSessionTask
Available on crate feature NSURLSession
only.
impl AsRef<NSObject> for NSURLSessionTask
NSURLSession
only.Source§impl AsRef<NSObject> for NSURLSessionTaskMetrics
Available on crate feature NSURLSession
only.
impl AsRef<NSObject> for NSURLSessionTaskMetrics
NSURLSession
only.Source§impl AsRef<NSObject> for NSURLSessionTaskTransactionMetrics
Available on crate feature NSURLSession
only.
impl AsRef<NSObject> for NSURLSessionTaskTransactionMetrics
NSURLSession
only.Source§impl AsRef<NSObject> for NSURLSessionUploadTask
Available on crate feature NSURLSession
only.
impl AsRef<NSObject> for NSURLSessionUploadTask
NSURLSession
only.Source§impl AsRef<NSObject> for NSURLSessionWebSocketMessage
Available on crate feature NSURLSession
only.
impl AsRef<NSObject> for NSURLSessionWebSocketMessage
NSURLSession
only.Source§impl AsRef<NSObject> for NSURLSessionWebSocketTask
Available on crate feature NSURLSession
only.
impl AsRef<NSObject> for NSURLSessionWebSocketTask
NSURLSession
only.Source§impl AsRef<NSObject> for NSUbiquitousKeyValueStore
Available on crate feature NSUbiquitousKeyValueStore
only.
impl AsRef<NSObject> for NSUbiquitousKeyValueStore
NSUbiquitousKeyValueStore
only.Source§impl AsRef<NSObject> for NSUnarchiver
Available on crate features NSArchiver
and NSCoder
only.
impl AsRef<NSObject> for NSUnarchiver
NSArchiver
and NSCoder
only.Source§impl AsRef<NSObject> for NSUndoManager
Available on crate feature NSUndoManager
only.
impl AsRef<NSObject> for NSUndoManager
NSUndoManager
only.Source§impl AsRef<NSObject> for NSUniqueIDSpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl AsRef<NSObject> for NSUniqueIDSpecifier
NSScriptObjectSpecifiers
only.Source§impl AsRef<NSObject> for NSUnitAcceleration
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitAcceleration
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitAngle
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitAngle
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitArea
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitArea
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitConcentrationMass
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitConcentrationMass
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitConverter
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitConverter
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitConverterLinear
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitConverterLinear
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitDispersion
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitDispersion
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitDuration
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitDuration
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitElectricCharge
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitElectricCharge
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitElectricCurrent
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitElectricCurrent
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitElectricPotentialDifference
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitElectricPotentialDifference
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitElectricResistance
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitElectricResistance
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitEnergy
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitEnergy
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitFrequency
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitFrequency
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitFuelEfficiency
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitFuelEfficiency
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitIlluminance
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitIlluminance
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitInformationStorage
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitInformationStorage
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitLength
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitLength
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitMass
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitMass
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitPower
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitPower
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitPressure
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitPressure
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitSpeed
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitSpeed
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitTemperature
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitTemperature
NSUnit
only.Source§impl AsRef<NSObject> for NSUnitVolume
Available on crate feature NSUnit
only.
impl AsRef<NSObject> for NSUnitVolume
NSUnit
only.Source§impl AsRef<NSObject> for NSUserActivity
Available on crate feature NSUserActivity
only.
impl AsRef<NSObject> for NSUserActivity
NSUserActivity
only.Source§impl AsRef<NSObject> for NSUserAppleScriptTask
Available on crate feature NSUserScriptTask
only.
impl AsRef<NSObject> for NSUserAppleScriptTask
NSUserScriptTask
only.Source§impl AsRef<NSObject> for NSUserAutomatorTask
Available on crate feature NSUserScriptTask
only.
impl AsRef<NSObject> for NSUserAutomatorTask
NSUserScriptTask
only.Source§impl AsRef<NSObject> for NSUserDefaults
Available on crate feature NSUserDefaults
only.
impl AsRef<NSObject> for NSUserDefaults
NSUserDefaults
only.Source§impl AsRef<NSObject> for NSUserNotification
Available on crate feature NSUserNotification
only.
impl AsRef<NSObject> for NSUserNotification
NSUserNotification
only.Source§impl AsRef<NSObject> for NSUserNotificationAction
Available on crate feature NSUserNotification
only.
impl AsRef<NSObject> for NSUserNotificationAction
NSUserNotification
only.Source§impl AsRef<NSObject> for NSUserNotificationCenter
Available on crate feature NSUserNotification
only.
impl AsRef<NSObject> for NSUserNotificationCenter
NSUserNotification
only.Source§impl AsRef<NSObject> for NSUserScriptTask
Available on crate feature NSUserScriptTask
only.
impl AsRef<NSObject> for NSUserScriptTask
NSUserScriptTask
only.Source§impl AsRef<NSObject> for NSUserUnixTask
Available on crate feature NSUserScriptTask
only.
impl AsRef<NSObject> for NSUserUnixTask
NSUserScriptTask
only.Source§impl AsRef<NSObject> for NSValueTransformer
Available on crate feature NSValueTransformer
only.
impl AsRef<NSObject> for NSValueTransformer
NSValueTransformer
only.Source§impl AsRef<NSObject> for NSWhoseSpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl AsRef<NSObject> for NSWhoseSpecifier
NSScriptObjectSpecifiers
only.Source§impl AsRef<NSObject> for NSXMLDTDNode
Available on crate features NSXMLDTDNode
and NSXMLNode
only.
impl AsRef<NSObject> for NSXMLDTDNode
NSXMLDTDNode
and NSXMLNode
only.Source§impl AsRef<NSObject> for NSXMLDocument
Available on crate features NSXMLDocument
and NSXMLNode
only.
impl AsRef<NSObject> for NSXMLDocument
NSXMLDocument
and NSXMLNode
only.Source§impl AsRef<NSObject> for NSXMLElement
Available on crate features NSXMLElement
and NSXMLNode
only.
impl AsRef<NSObject> for NSXMLElement
NSXMLElement
and NSXMLNode
only.Source§impl AsRef<NSObject> for NSXMLParser
Available on crate feature NSXMLParser
only.
impl AsRef<NSObject> for NSXMLParser
NSXMLParser
only.Source§impl AsRef<NSObject> for NSXPCCoder
Available on crate features NSXPCConnection
and NSCoder
only.
impl AsRef<NSObject> for NSXPCCoder
NSXPCConnection
and NSCoder
only.Source§impl AsRef<NSObject> for NSXPCConnection
Available on crate feature NSXPCConnection
only.
impl AsRef<NSObject> for NSXPCConnection
NSXPCConnection
only.Source§impl AsRef<NSObject> for NSXPCInterface
Available on crate feature NSXPCConnection
only.
impl AsRef<NSObject> for NSXPCInterface
NSXPCConnection
only.Source§impl AsRef<NSObject> for NSXPCListener
Available on crate feature NSXPCConnection
only.
impl AsRef<NSObject> for NSXPCListener
NSXPCConnection
only.Source§impl AsRef<NSObject> for NSXPCListenerEndpoint
Available on crate feature NSXPCConnection
only.
impl AsRef<NSObject> for NSXPCListenerEndpoint
NSXPCConnection
only.Source§impl Borrow<NSObject> for NSAffineTransform
Available on crate feature NSAffineTransform
only.
impl Borrow<NSObject> for NSAffineTransform
NSAffineTransform
only.Source§impl Borrow<NSObject> for NSAppleEventDescriptor
Available on crate feature NSAppleEventDescriptor
only.
impl Borrow<NSObject> for NSAppleEventDescriptor
NSAppleEventDescriptor
only.Source§impl Borrow<NSObject> for NSAppleEventManager
Available on crate feature NSAppleEventManager
only.
impl Borrow<NSObject> for NSAppleEventManager
NSAppleEventManager
only.Source§impl Borrow<NSObject> for NSAppleScript
Available on crate feature NSAppleScript
only.
impl Borrow<NSObject> for NSAppleScript
NSAppleScript
only.Source§impl Borrow<NSObject> for NSArchiver
Available on crate features NSArchiver
and NSCoder
only.
impl Borrow<NSObject> for NSArchiver
NSArchiver
and NSCoder
only.Source§impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSArray<ObjectType>
Available on crate feature NSArray
only.
impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSArray<ObjectType>
NSArray
only.Source§impl Borrow<NSObject> for NSAssertionHandler
Available on crate feature NSException
only.
impl Borrow<NSObject> for NSAssertionHandler
NSException
only.Source§impl Borrow<NSObject> for NSAttributedString
Available on crate feature NSAttributedString
only.
impl Borrow<NSObject> for NSAttributedString
NSAttributedString
only.Source§impl Borrow<NSObject> for NSAttributedStringMarkdownParsingOptions
Available on crate feature NSAttributedString
only.
impl Borrow<NSObject> for NSAttributedStringMarkdownParsingOptions
NSAttributedString
only.Source§impl Borrow<NSObject> for NSAttributedStringMarkdownSourcePosition
Available on crate feature NSAttributedString
only.
impl Borrow<NSObject> for NSAttributedStringMarkdownSourcePosition
NSAttributedString
only.Source§impl Borrow<NSObject> for NSAutoreleasePool
Available on crate feature NSAutoreleasePool
only.
impl Borrow<NSObject> for NSAutoreleasePool
NSAutoreleasePool
only.Source§impl Borrow<NSObject> for NSBackgroundActivityScheduler
Available on crate feature NSBackgroundActivityScheduler
only.
impl Borrow<NSObject> for NSBackgroundActivityScheduler
NSBackgroundActivityScheduler
only.Source§impl Borrow<NSObject> for NSBlockOperation
Available on crate feature NSOperation
only.
impl Borrow<NSObject> for NSBlockOperation
NSOperation
only.Source§impl Borrow<NSObject> for NSBundleResourceRequest
Available on crate feature NSBundle
only.
impl Borrow<NSObject> for NSBundleResourceRequest
NSBundle
only.Source§impl Borrow<NSObject> for NSByteCountFormatter
Available on crate features NSByteCountFormatter
and NSFormatter
only.
impl Borrow<NSObject> for NSByteCountFormatter
NSByteCountFormatter
and NSFormatter
only.Source§impl<KeyType: ?Sized + Message, ObjectType: ?Sized + Message> Borrow<NSObject> for NSCache<KeyType, ObjectType>
Available on crate feature NSCache
only.
impl<KeyType: ?Sized + Message, ObjectType: ?Sized + Message> Borrow<NSObject> for NSCache<KeyType, ObjectType>
NSCache
only.Source§impl Borrow<NSObject> for NSCachedURLResponse
Available on crate feature NSURLCache
only.
impl Borrow<NSObject> for NSCachedURLResponse
NSURLCache
only.Source§impl Borrow<NSObject> for NSCalendar
Available on crate feature NSCalendar
only.
impl Borrow<NSObject> for NSCalendar
NSCalendar
only.Source§impl Borrow<NSObject> for NSCalendarDate
Available on crate features NSCalendarDate
and NSDate
only.
impl Borrow<NSObject> for NSCalendarDate
NSCalendarDate
and NSDate
only.Source§impl Borrow<NSObject> for NSCharacterSet
Available on crate feature NSCharacterSet
only.
impl Borrow<NSObject> for NSCharacterSet
NSCharacterSet
only.Source§impl Borrow<NSObject> for NSClassDescription
Available on crate feature NSClassDescription
only.
impl Borrow<NSObject> for NSClassDescription
NSClassDescription
only.Source§impl Borrow<NSObject> for NSCloneCommand
Available on crate features NSScriptStandardSuiteCommands
and NSScriptCommand
only.
impl Borrow<NSObject> for NSCloneCommand
NSScriptStandardSuiteCommands
and NSScriptCommand
only.Source§impl Borrow<NSObject> for NSCloseCommand
Available on crate features NSScriptStandardSuiteCommands
and NSScriptCommand
only.
impl Borrow<NSObject> for NSCloseCommand
NSScriptStandardSuiteCommands
and NSScriptCommand
only.Source§impl Borrow<NSObject> for NSComparisonPredicate
Available on crate features NSComparisonPredicate
and NSPredicate
only.
impl Borrow<NSObject> for NSComparisonPredicate
NSComparisonPredicate
and NSPredicate
only.Source§impl Borrow<NSObject> for NSCompoundPredicate
Available on crate features NSCompoundPredicate
and NSPredicate
only.
impl Borrow<NSObject> for NSCompoundPredicate
NSCompoundPredicate
and NSPredicate
only.Source§impl Borrow<NSObject> for NSCondition
Available on crate feature NSLock
only.
impl Borrow<NSObject> for NSCondition
NSLock
only.Source§impl Borrow<NSObject> for NSConditionLock
Available on crate feature NSLock
only.
impl Borrow<NSObject> for NSConditionLock
NSLock
only.Source§impl Borrow<NSObject> for NSConnection
Available on crate feature NSConnection
only.
impl Borrow<NSObject> for NSConnection
NSConnection
only.Source§impl Borrow<NSObject> for NSConstantString
Available on crate feature NSString
only.
impl Borrow<NSObject> for NSConstantString
NSString
only.Source§impl Borrow<NSObject> for NSCountCommand
Available on crate features NSScriptStandardSuiteCommands
and NSScriptCommand
only.
impl Borrow<NSObject> for NSCountCommand
NSScriptStandardSuiteCommands
and NSScriptCommand
only.Source§impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSCountedSet<ObjectType>
Available on crate feature NSSet
only.
impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSCountedSet<ObjectType>
NSSet
only.Source§impl Borrow<NSObject> for NSCreateCommand
Available on crate features NSScriptStandardSuiteCommands
and NSScriptCommand
only.
impl Borrow<NSObject> for NSCreateCommand
NSScriptStandardSuiteCommands
and NSScriptCommand
only.Source§impl Borrow<NSObject> for NSDataDetector
Available on crate feature NSRegularExpression
only.
impl Borrow<NSObject> for NSDataDetector
NSRegularExpression
only.Source§impl Borrow<NSObject> for NSDateComponents
Available on crate feature NSCalendar
only.
impl Borrow<NSObject> for NSDateComponents
NSCalendar
only.Source§impl Borrow<NSObject> for NSDateComponentsFormatter
Available on crate features NSDateComponentsFormatter
and NSFormatter
only.
impl Borrow<NSObject> for NSDateComponentsFormatter
NSDateComponentsFormatter
and NSFormatter
only.Source§impl Borrow<NSObject> for NSDateFormatter
Available on crate features NSDateFormatter
and NSFormatter
only.
impl Borrow<NSObject> for NSDateFormatter
NSDateFormatter
and NSFormatter
only.Source§impl Borrow<NSObject> for NSDateInterval
Available on crate feature NSDateInterval
only.
impl Borrow<NSObject> for NSDateInterval
NSDateInterval
only.Source§impl Borrow<NSObject> for NSDateIntervalFormatter
Available on crate features NSDateIntervalFormatter
and NSFormatter
only.
impl Borrow<NSObject> for NSDateIntervalFormatter
NSDateIntervalFormatter
and NSFormatter
only.Source§impl Borrow<NSObject> for NSDecimalNumber
Available on crate features NSDecimalNumber
and NSValue
only.
impl Borrow<NSObject> for NSDecimalNumber
NSDecimalNumber
and NSValue
only.Source§impl Borrow<NSObject> for NSDecimalNumberHandler
Available on crate feature NSDecimalNumber
only.
impl Borrow<NSObject> for NSDecimalNumberHandler
NSDecimalNumber
only.Source§impl Borrow<NSObject> for NSDeleteCommand
Available on crate features NSScriptStandardSuiteCommands
and NSScriptCommand
only.
impl Borrow<NSObject> for NSDeleteCommand
NSScriptStandardSuiteCommands
and NSScriptCommand
only.Source§impl<KeyType: ?Sized + Message, ObjectType: ?Sized + Message> Borrow<NSObject> for NSDictionary<KeyType, ObjectType>
Available on crate feature NSDictionary
only.
impl<KeyType: ?Sized + Message, ObjectType: ?Sized + Message> Borrow<NSObject> for NSDictionary<KeyType, ObjectType>
NSDictionary
only.Source§impl Borrow<NSObject> for NSDimension
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSDimension
NSUnit
only.Source§impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSDirectoryEnumerator<ObjectType>
Available on crate features NSFileManager
and NSEnumerator
only.
impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSDirectoryEnumerator<ObjectType>
NSFileManager
and NSEnumerator
only.Source§impl Borrow<NSObject> for NSDistantObjectRequest
Available on crate feature NSConnection
only.
impl Borrow<NSObject> for NSDistantObjectRequest
NSConnection
only.Source§impl Borrow<NSObject> for NSDistributedLock
Available on crate feature NSDistributedLock
only.
impl Borrow<NSObject> for NSDistributedLock
NSDistributedLock
only.Source§impl Borrow<NSObject> for NSDistributedNotificationCenter
Available on crate features NSDistributedNotificationCenter
and NSNotification
only.
impl Borrow<NSObject> for NSDistributedNotificationCenter
NSDistributedNotificationCenter
and NSNotification
only.Source§impl Borrow<NSObject> for NSEnergyFormatter
Available on crate features NSEnergyFormatter
and NSFormatter
only.
impl Borrow<NSObject> for NSEnergyFormatter
NSEnergyFormatter
and NSFormatter
only.Source§impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSEnumerator<ObjectType>
Available on crate feature NSEnumerator
only.
impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSEnumerator<ObjectType>
NSEnumerator
only.Source§impl Borrow<NSObject> for NSException
Available on crate feature NSException
only.
impl Borrow<NSObject> for NSException
NSException
only.Source§impl Borrow<NSObject> for NSExistsCommand
Available on crate features NSScriptStandardSuiteCommands
and NSScriptCommand
only.
impl Borrow<NSObject> for NSExistsCommand
NSScriptStandardSuiteCommands
and NSScriptCommand
only.Source§impl Borrow<NSObject> for NSExpression
Available on crate feature NSExpression
only.
impl Borrow<NSObject> for NSExpression
NSExpression
only.Source§impl Borrow<NSObject> for NSExtensionContext
Available on crate feature NSExtensionContext
only.
impl Borrow<NSObject> for NSExtensionContext
NSExtensionContext
only.Source§impl Borrow<NSObject> for NSExtensionItem
Available on crate feature NSExtensionItem
only.
impl Borrow<NSObject> for NSExtensionItem
NSExtensionItem
only.Source§impl Borrow<NSObject> for NSFileAccessIntent
Available on crate feature NSFileCoordinator
only.
impl Borrow<NSObject> for NSFileAccessIntent
NSFileCoordinator
only.Source§impl Borrow<NSObject> for NSFileCoordinator
Available on crate feature NSFileCoordinator
only.
impl Borrow<NSObject> for NSFileCoordinator
NSFileCoordinator
only.Source§impl Borrow<NSObject> for NSFileHandle
Available on crate feature NSFileHandle
only.
impl Borrow<NSObject> for NSFileHandle
NSFileHandle
only.Source§impl Borrow<NSObject> for NSFileManager
Available on crate feature NSFileManager
only.
impl Borrow<NSObject> for NSFileManager
NSFileManager
only.Source§impl Borrow<NSObject> for NSFileProviderService
Available on crate feature NSFileManager
only.
impl Borrow<NSObject> for NSFileProviderService
NSFileManager
only.Source§impl Borrow<NSObject> for NSFileSecurity
Available on crate feature NSURL
only.
impl Borrow<NSObject> for NSFileSecurity
NSURL
only.Source§impl Borrow<NSObject> for NSFileVersion
Available on crate feature NSFileVersion
only.
impl Borrow<NSObject> for NSFileVersion
NSFileVersion
only.Source§impl Borrow<NSObject> for NSFileWrapper
Available on crate feature NSFileWrapper
only.
impl Borrow<NSObject> for NSFileWrapper
NSFileWrapper
only.Source§impl Borrow<NSObject> for NSFormatter
Available on crate feature NSFormatter
only.
impl Borrow<NSObject> for NSFormatter
NSFormatter
only.Source§impl Borrow<NSObject> for NSGarbageCollector
Available on crate feature NSGarbageCollector
only.
impl Borrow<NSObject> for NSGarbageCollector
NSGarbageCollector
only.Source§impl Borrow<NSObject> for NSGetCommand
Available on crate features NSScriptStandardSuiteCommands
and NSScriptCommand
only.
impl Borrow<NSObject> for NSGetCommand
NSScriptStandardSuiteCommands
and NSScriptCommand
only.Source§impl Borrow<NSObject> for NSHTTPCookie
Available on crate feature NSHTTPCookie
only.
impl Borrow<NSObject> for NSHTTPCookie
NSHTTPCookie
only.Source§impl Borrow<NSObject> for NSHTTPCookieStorage
Available on crate feature NSHTTPCookieStorage
only.
impl Borrow<NSObject> for NSHTTPCookieStorage
NSHTTPCookieStorage
only.Source§impl Borrow<NSObject> for NSHTTPURLResponse
Available on crate feature NSURLResponse
only.
impl Borrow<NSObject> for NSHTTPURLResponse
NSURLResponse
only.Source§impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSHashTable<ObjectType>
Available on crate feature NSHashTable
only.
impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSHashTable<ObjectType>
NSHashTable
only.Source§impl Borrow<NSObject> for NSISO8601DateFormatter
Available on crate features NSISO8601DateFormatter
and NSFormatter
only.
impl Borrow<NSObject> for NSISO8601DateFormatter
NSISO8601DateFormatter
and NSFormatter
only.Source§impl Borrow<NSObject> for NSIndexPath
Available on crate feature NSIndexPath
only.
impl Borrow<NSObject> for NSIndexPath
NSIndexPath
only.Source§impl Borrow<NSObject> for NSIndexSet
Available on crate feature NSIndexSet
only.
impl Borrow<NSObject> for NSIndexSet
NSIndexSet
only.Source§impl Borrow<NSObject> for NSIndexSpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl Borrow<NSObject> for NSIndexSpecifier
NSScriptObjectSpecifiers
only.Source§impl Borrow<NSObject> for NSInflectionRule
Available on crate feature NSInflectionRule
only.
impl Borrow<NSObject> for NSInflectionRule
NSInflectionRule
only.Source§impl Borrow<NSObject> for NSInflectionRuleExplicit
Available on crate feature NSInflectionRule
only.
impl Borrow<NSObject> for NSInflectionRuleExplicit
NSInflectionRule
only.Source§impl Borrow<NSObject> for NSInputStream
Available on crate feature NSStream
only.
impl Borrow<NSObject> for NSInputStream
NSStream
only.Source§impl Borrow<NSObject> for NSInvocation
Available on crate feature NSInvocation
only.
impl Borrow<NSObject> for NSInvocation
NSInvocation
only.Source§impl Borrow<NSObject> for NSInvocationOperation
Available on crate feature NSOperation
only.
impl Borrow<NSObject> for NSInvocationOperation
NSOperation
only.Source§impl Borrow<NSObject> for NSItemProvider
Available on crate feature NSItemProvider
only.
impl Borrow<NSObject> for NSItemProvider
NSItemProvider
only.Source§impl Borrow<NSObject> for NSJSONSerialization
Available on crate feature NSJSONSerialization
only.
impl Borrow<NSObject> for NSJSONSerialization
NSJSONSerialization
only.Source§impl Borrow<NSObject> for NSKeyedArchiver
Available on crate features NSKeyedArchiver
and NSCoder
only.
impl Borrow<NSObject> for NSKeyedArchiver
NSKeyedArchiver
and NSCoder
only.Source§impl Borrow<NSObject> for NSKeyedUnarchiver
Available on crate features NSKeyedArchiver
and NSCoder
only.
impl Borrow<NSObject> for NSKeyedUnarchiver
NSKeyedArchiver
and NSCoder
only.Source§impl Borrow<NSObject> for NSLengthFormatter
Available on crate features NSLengthFormatter
and NSFormatter
only.
impl Borrow<NSObject> for NSLengthFormatter
NSLengthFormatter
and NSFormatter
only.Source§impl Borrow<NSObject> for NSLinguisticTagger
Available on crate feature NSLinguisticTagger
only.
impl Borrow<NSObject> for NSLinguisticTagger
NSLinguisticTagger
only.Source§impl Borrow<NSObject> for NSListFormatter
Available on crate features NSListFormatter
and NSFormatter
only.
impl Borrow<NSObject> for NSListFormatter
NSListFormatter
and NSFormatter
only.Source§impl Borrow<NSObject> for NSLocalizedNumberFormatRule
Available on crate feature NSLocalizedNumberFormatRule
only.
impl Borrow<NSObject> for NSLocalizedNumberFormatRule
NSLocalizedNumberFormatRule
only.Source§impl Borrow<NSObject> for NSLogicalTest
Available on crate feature NSScriptWhoseTests
only.
impl Borrow<NSObject> for NSLogicalTest
NSScriptWhoseTests
only.Source§impl Borrow<NSObject> for NSMachBootstrapServer
Available on crate feature NSPortNameServer
only.
impl Borrow<NSObject> for NSMachBootstrapServer
NSPortNameServer
only.Source§impl Borrow<NSObject> for NSMachPort
Available on crate feature NSPort
only.
impl Borrow<NSObject> for NSMachPort
NSPort
only.Source§impl<KeyType: ?Sized + Message, ObjectType: ?Sized + Message> Borrow<NSObject> for NSMapTable<KeyType, ObjectType>
Available on crate feature NSMapTable
only.
impl<KeyType: ?Sized + Message, ObjectType: ?Sized + Message> Borrow<NSObject> for NSMapTable<KeyType, ObjectType>
NSMapTable
only.Source§impl Borrow<NSObject> for NSMassFormatter
Available on crate features NSMassFormatter
and NSFormatter
only.
impl Borrow<NSObject> for NSMassFormatter
NSMassFormatter
and NSFormatter
only.Source§impl<UnitType: ?Sized + Message> Borrow<NSObject> for NSMeasurement<UnitType>
Available on crate feature NSMeasurement
only.
impl<UnitType: ?Sized + Message> Borrow<NSObject> for NSMeasurement<UnitType>
NSMeasurement
only.Source§impl Borrow<NSObject> for NSMeasurementFormatter
Available on crate features NSMeasurementFormatter
and NSFormatter
only.
impl Borrow<NSObject> for NSMeasurementFormatter
NSMeasurementFormatter
and NSFormatter
only.Source§impl Borrow<NSObject> for NSMessagePort
Available on crate feature NSPort
only.
impl Borrow<NSObject> for NSMessagePort
NSPort
only.Source§impl Borrow<NSObject> for NSMessagePortNameServer
Available on crate feature NSPortNameServer
only.
impl Borrow<NSObject> for NSMessagePortNameServer
NSPortNameServer
only.Source§impl Borrow<NSObject> for NSMetadataItem
Available on crate feature NSMetadata
only.
impl Borrow<NSObject> for NSMetadataItem
NSMetadata
only.Source§impl Borrow<NSObject> for NSMetadataQuery
Available on crate feature NSMetadata
only.
impl Borrow<NSObject> for NSMetadataQuery
NSMetadata
only.Source§impl Borrow<NSObject> for NSMetadataQueryAttributeValueTuple
Available on crate feature NSMetadata
only.
impl Borrow<NSObject> for NSMetadataQueryAttributeValueTuple
NSMetadata
only.Source§impl Borrow<NSObject> for NSMetadataQueryResultGroup
Available on crate feature NSMetadata
only.
impl Borrow<NSObject> for NSMetadataQueryResultGroup
NSMetadata
only.Source§impl Borrow<NSObject> for NSMethodSignature
Available on crate feature NSMethodSignature
only.
impl Borrow<NSObject> for NSMethodSignature
NSMethodSignature
only.Source§impl Borrow<NSObject> for NSMiddleSpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl Borrow<NSObject> for NSMiddleSpecifier
NSScriptObjectSpecifiers
only.Source§impl Borrow<NSObject> for NSMorphology
Available on crate feature NSMorphology
only.
impl Borrow<NSObject> for NSMorphology
NSMorphology
only.Source§impl Borrow<NSObject> for NSMorphologyCustomPronoun
Available on crate feature NSMorphology
only.
impl Borrow<NSObject> for NSMorphologyCustomPronoun
NSMorphology
only.Source§impl Borrow<NSObject> for NSMorphologyPronoun
Available on crate feature NSMorphology
only.
impl Borrow<NSObject> for NSMorphologyPronoun
NSMorphology
only.Source§impl Borrow<NSObject> for NSMoveCommand
Available on crate features NSScriptStandardSuiteCommands
and NSScriptCommand
only.
impl Borrow<NSObject> for NSMoveCommand
NSScriptStandardSuiteCommands
and NSScriptCommand
only.Source§impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSMutableArray<ObjectType>
Available on crate feature NSArray
only.
impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSMutableArray<ObjectType>
NSArray
only.Source§impl Borrow<NSObject> for NSMutableAttributedString
Available on crate feature NSAttributedString
only.
impl Borrow<NSObject> for NSMutableAttributedString
NSAttributedString
only.Source§impl Borrow<NSObject> for NSMutableCharacterSet
Available on crate feature NSCharacterSet
only.
impl Borrow<NSObject> for NSMutableCharacterSet
NSCharacterSet
only.Source§impl Borrow<NSObject> for NSMutableData
Available on crate feature NSData
only.
impl Borrow<NSObject> for NSMutableData
NSData
only.Source§impl<KeyType: ?Sized + Message, ObjectType: ?Sized + Message> Borrow<NSObject> for NSMutableDictionary<KeyType, ObjectType>
Available on crate feature NSDictionary
only.
impl<KeyType: ?Sized + Message, ObjectType: ?Sized + Message> Borrow<NSObject> for NSMutableDictionary<KeyType, ObjectType>
NSDictionary
only.Source§impl Borrow<NSObject> for NSMutableIndexSet
Available on crate feature NSIndexSet
only.
impl Borrow<NSObject> for NSMutableIndexSet
NSIndexSet
only.Source§impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSMutableOrderedSet<ObjectType>
Available on crate feature NSOrderedSet
only.
impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSMutableOrderedSet<ObjectType>
NSOrderedSet
only.Source§impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSMutableSet<ObjectType>
Available on crate feature NSSet
only.
impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSMutableSet<ObjectType>
NSSet
only.Source§impl Borrow<NSObject> for NSMutableString
Available on crate feature NSString
only.
impl Borrow<NSObject> for NSMutableString
NSString
only.Source§impl Borrow<NSObject> for NSMutableURLRequest
Available on crate feature NSURLRequest
only.
impl Borrow<NSObject> for NSMutableURLRequest
NSURLRequest
only.Source§impl Borrow<NSObject> for NSNameSpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl Borrow<NSObject> for NSNameSpecifier
NSScriptObjectSpecifiers
only.Source§impl Borrow<NSObject> for NSNetService
Available on crate feature NSNetServices
only.
impl Borrow<NSObject> for NSNetService
NSNetServices
only.Source§impl Borrow<NSObject> for NSNetServiceBrowser
Available on crate feature NSNetServices
only.
impl Borrow<NSObject> for NSNetServiceBrowser
NSNetServices
only.Source§impl Borrow<NSObject> for NSNotification
Available on crate feature NSNotification
only.
impl Borrow<NSObject> for NSNotification
NSNotification
only.Source§impl Borrow<NSObject> for NSNotificationCenter
Available on crate feature NSNotification
only.
impl Borrow<NSObject> for NSNotificationCenter
NSNotification
only.Source§impl Borrow<NSObject> for NSNotificationQueue
Available on crate feature NSNotificationQueue
only.
impl Borrow<NSObject> for NSNotificationQueue
NSNotificationQueue
only.Source§impl Borrow<NSObject> for NSNumberFormatter
Available on crate features NSNumberFormatter
and NSFormatter
only.
impl Borrow<NSObject> for NSNumberFormatter
NSNumberFormatter
and NSFormatter
only.Source§impl Borrow<NSObject> for NSOperation
Available on crate feature NSOperation
only.
impl Borrow<NSObject> for NSOperation
NSOperation
only.Source§impl Borrow<NSObject> for NSOperationQueue
Available on crate feature NSOperation
only.
impl Borrow<NSObject> for NSOperationQueue
NSOperation
only.Source§impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSOrderedCollectionChange<ObjectType>
Available on crate feature NSOrderedCollectionChange
only.
impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSOrderedCollectionChange<ObjectType>
NSOrderedCollectionChange
only.Source§impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSOrderedCollectionDifference<ObjectType>
Available on crate feature NSOrderedCollectionDifference
only.
impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSOrderedCollectionDifference<ObjectType>
NSOrderedCollectionDifference
only.Source§impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSOrderedSet<ObjectType>
Available on crate feature NSOrderedSet
only.
impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSOrderedSet<ObjectType>
NSOrderedSet
only.Source§impl Borrow<NSObject> for NSOrthography
Available on crate feature NSOrthography
only.
impl Borrow<NSObject> for NSOrthography
NSOrthography
only.Source§impl Borrow<NSObject> for NSOutputStream
Available on crate feature NSStream
only.
impl Borrow<NSObject> for NSOutputStream
NSStream
only.Source§impl Borrow<NSObject> for NSPersonNameComponents
Available on crate feature NSPersonNameComponents
only.
impl Borrow<NSObject> for NSPersonNameComponents
NSPersonNameComponents
only.Source§impl Borrow<NSObject> for NSPersonNameComponentsFormatter
Available on crate features NSPersonNameComponentsFormatter
and NSFormatter
only.
impl Borrow<NSObject> for NSPersonNameComponentsFormatter
NSPersonNameComponentsFormatter
and NSFormatter
only.Source§impl Borrow<NSObject> for NSPointerArray
Available on crate feature NSPointerArray
only.
impl Borrow<NSObject> for NSPointerArray
NSPointerArray
only.Source§impl Borrow<NSObject> for NSPointerFunctions
Available on crate feature NSPointerFunctions
only.
impl Borrow<NSObject> for NSPointerFunctions
NSPointerFunctions
only.Source§impl Borrow<NSObject> for NSPortCoder
Available on crate features NSPortCoder
and NSCoder
only.
impl Borrow<NSObject> for NSPortCoder
NSPortCoder
and NSCoder
only.Source§impl Borrow<NSObject> for NSPortMessage
Available on crate feature NSPortMessage
only.
impl Borrow<NSObject> for NSPortMessage
NSPortMessage
only.Source§impl Borrow<NSObject> for NSPortNameServer
Available on crate feature NSPortNameServer
only.
impl Borrow<NSObject> for NSPortNameServer
NSPortNameServer
only.Source§impl Borrow<NSObject> for NSPositionalSpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl Borrow<NSObject> for NSPositionalSpecifier
NSScriptObjectSpecifiers
only.Source§impl Borrow<NSObject> for NSPredicate
Available on crate feature NSPredicate
only.
impl Borrow<NSObject> for NSPredicate
NSPredicate
only.Source§impl Borrow<NSObject> for NSPresentationIntent
Available on crate feature NSAttributedString
only.
impl Borrow<NSObject> for NSPresentationIntent
NSAttributedString
only.Source§impl Borrow<NSObject> for NSProcessInfo
Available on crate feature NSProcessInfo
only.
impl Borrow<NSObject> for NSProcessInfo
NSProcessInfo
only.Source§impl Borrow<NSObject> for NSProgress
Available on crate feature NSProgress
only.
impl Borrow<NSObject> for NSProgress
NSProgress
only.Source§impl Borrow<NSObject> for NSPropertyListSerialization
Available on crate feature NSPropertyList
only.
impl Borrow<NSObject> for NSPropertyListSerialization
NSPropertyList
only.Source§impl Borrow<NSObject> for NSPropertySpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl Borrow<NSObject> for NSPropertySpecifier
NSScriptObjectSpecifiers
only.Source§impl Borrow<NSObject> for NSPurgeableData
Available on crate feature NSData
only.
impl Borrow<NSObject> for NSPurgeableData
NSData
only.Source§impl Borrow<NSObject> for NSQuitCommand
Available on crate features NSScriptStandardSuiteCommands
and NSScriptCommand
only.
impl Borrow<NSObject> for NSQuitCommand
NSScriptStandardSuiteCommands
and NSScriptCommand
only.Source§impl Borrow<NSObject> for NSRandomSpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl Borrow<NSObject> for NSRandomSpecifier
NSScriptObjectSpecifiers
only.Source§impl Borrow<NSObject> for NSRangeSpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl Borrow<NSObject> for NSRangeSpecifier
NSScriptObjectSpecifiers
only.Source§impl Borrow<NSObject> for NSRecursiveLock
Available on crate feature NSLock
only.
impl Borrow<NSObject> for NSRecursiveLock
NSLock
only.Source§impl Borrow<NSObject> for NSRegularExpression
Available on crate feature NSRegularExpression
only.
impl Borrow<NSObject> for NSRegularExpression
NSRegularExpression
only.Source§impl Borrow<NSObject> for NSRelativeDateTimeFormatter
Available on crate features NSRelativeDateTimeFormatter
and NSFormatter
only.
impl Borrow<NSObject> for NSRelativeDateTimeFormatter
NSRelativeDateTimeFormatter
and NSFormatter
only.Source§impl Borrow<NSObject> for NSRelativeSpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl Borrow<NSObject> for NSRelativeSpecifier
NSScriptObjectSpecifiers
only.Source§impl Borrow<NSObject> for NSScriptClassDescription
Available on crate features NSScriptClassDescription
and NSClassDescription
only.
impl Borrow<NSObject> for NSScriptClassDescription
NSScriptClassDescription
and NSClassDescription
only.Source§impl Borrow<NSObject> for NSScriptCoercionHandler
Available on crate feature NSScriptCoercionHandler
only.
impl Borrow<NSObject> for NSScriptCoercionHandler
NSScriptCoercionHandler
only.Source§impl Borrow<NSObject> for NSScriptCommand
Available on crate feature NSScriptCommand
only.
impl Borrow<NSObject> for NSScriptCommand
NSScriptCommand
only.Source§impl Borrow<NSObject> for NSScriptCommandDescription
Available on crate feature NSScriptCommandDescription
only.
impl Borrow<NSObject> for NSScriptCommandDescription
NSScriptCommandDescription
only.Source§impl Borrow<NSObject> for NSScriptExecutionContext
Available on crate feature NSScriptExecutionContext
only.
impl Borrow<NSObject> for NSScriptExecutionContext
NSScriptExecutionContext
only.Source§impl Borrow<NSObject> for NSScriptObjectSpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl Borrow<NSObject> for NSScriptObjectSpecifier
NSScriptObjectSpecifiers
only.Source§impl Borrow<NSObject> for NSScriptSuiteRegistry
Available on crate feature NSScriptSuiteRegistry
only.
impl Borrow<NSObject> for NSScriptSuiteRegistry
NSScriptSuiteRegistry
only.Source§impl Borrow<NSObject> for NSScriptWhoseTest
Available on crate feature NSScriptWhoseTests
only.
impl Borrow<NSObject> for NSScriptWhoseTest
NSScriptWhoseTests
only.Source§impl Borrow<NSObject> for NSSecureUnarchiveFromDataTransformer
Available on crate feature NSValueTransformer
only.
impl Borrow<NSObject> for NSSecureUnarchiveFromDataTransformer
NSValueTransformer
only.Source§impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSSet<ObjectType>
Available on crate feature NSSet
only.
impl<ObjectType: ?Sized + Message> Borrow<NSObject> for NSSet<ObjectType>
NSSet
only.Source§impl Borrow<NSObject> for NSSetCommand
Available on crate features NSScriptStandardSuiteCommands
and NSScriptCommand
only.
impl Borrow<NSObject> for NSSetCommand
NSScriptStandardSuiteCommands
and NSScriptCommand
only.Source§impl Borrow<NSObject> for NSSimpleCString
Available on crate feature NSString
only.
impl Borrow<NSObject> for NSSimpleCString
NSString
only.Source§impl Borrow<NSObject> for NSSocketPort
Available on crate feature NSPort
only.
impl Borrow<NSObject> for NSSocketPort
NSPort
only.Source§impl Borrow<NSObject> for NSSocketPortNameServer
Available on crate feature NSPortNameServer
only.
impl Borrow<NSObject> for NSSocketPortNameServer
NSPortNameServer
only.Source§impl Borrow<NSObject> for NSSortDescriptor
Available on crate feature NSSortDescriptor
only.
impl Borrow<NSObject> for NSSortDescriptor
NSSortDescriptor
only.Source§impl Borrow<NSObject> for NSSpecifierTest
Available on crate feature NSScriptWhoseTests
only.
impl Borrow<NSObject> for NSSpecifierTest
NSScriptWhoseTests
only.Source§impl Borrow<NSObject> for NSSpellServer
Available on crate feature NSSpellServer
only.
impl Borrow<NSObject> for NSSpellServer
NSSpellServer
only.Source§impl Borrow<NSObject> for NSTermOfAddress
Available on crate feature NSTermOfAddress
only.
impl Borrow<NSObject> for NSTermOfAddress
NSTermOfAddress
only.Source§impl Borrow<NSObject> for NSTextCheckingResult
Available on crate feature NSTextCheckingResult
only.
impl Borrow<NSObject> for NSTextCheckingResult
NSTextCheckingResult
only.Source§impl Borrow<NSObject> for NSTimeZone
Available on crate feature NSTimeZone
only.
impl Borrow<NSObject> for NSTimeZone
NSTimeZone
only.Source§impl Borrow<NSObject> for NSURLAuthenticationChallenge
Available on crate feature NSURLAuthenticationChallenge
only.
impl Borrow<NSObject> for NSURLAuthenticationChallenge
NSURLAuthenticationChallenge
only.Source§impl Borrow<NSObject> for NSURLCache
Available on crate feature NSURLCache
only.
impl Borrow<NSObject> for NSURLCache
NSURLCache
only.Source§impl Borrow<NSObject> for NSURLComponents
Available on crate feature NSURL
only.
impl Borrow<NSObject> for NSURLComponents
NSURL
only.Source§impl Borrow<NSObject> for NSURLConnection
Available on crate feature NSURLConnection
only.
impl Borrow<NSObject> for NSURLConnection
NSURLConnection
only.Source§impl Borrow<NSObject> for NSURLCredential
Available on crate feature NSURLCredential
only.
impl Borrow<NSObject> for NSURLCredential
NSURLCredential
only.Source§impl Borrow<NSObject> for NSURLCredentialStorage
Available on crate feature NSURLCredentialStorage
only.
impl Borrow<NSObject> for NSURLCredentialStorage
NSURLCredentialStorage
only.Source§impl Borrow<NSObject> for NSURLDownload
Available on crate feature NSURLDownload
only.
impl Borrow<NSObject> for NSURLDownload
NSURLDownload
only.Source§impl Borrow<NSObject> for NSURLHandle
Available on crate feature NSURLHandle
only.
impl Borrow<NSObject> for NSURLHandle
NSURLHandle
only.Source§impl Borrow<NSObject> for NSURLProtectionSpace
Available on crate feature NSURLProtectionSpace
only.
impl Borrow<NSObject> for NSURLProtectionSpace
NSURLProtectionSpace
only.Source§impl Borrow<NSObject> for NSURLProtocol
Available on crate feature NSURLProtocol
only.
impl Borrow<NSObject> for NSURLProtocol
NSURLProtocol
only.Source§impl Borrow<NSObject> for NSURLQueryItem
Available on crate feature NSURL
only.
impl Borrow<NSObject> for NSURLQueryItem
NSURL
only.Source§impl Borrow<NSObject> for NSURLRequest
Available on crate feature NSURLRequest
only.
impl Borrow<NSObject> for NSURLRequest
NSURLRequest
only.Source§impl Borrow<NSObject> for NSURLResponse
Available on crate feature NSURLResponse
only.
impl Borrow<NSObject> for NSURLResponse
NSURLResponse
only.Source§impl Borrow<NSObject> for NSURLSession
Available on crate feature NSURLSession
only.
impl Borrow<NSObject> for NSURLSession
NSURLSession
only.Source§impl Borrow<NSObject> for NSURLSessionConfiguration
Available on crate feature NSURLSession
only.
impl Borrow<NSObject> for NSURLSessionConfiguration
NSURLSession
only.Source§impl Borrow<NSObject> for NSURLSessionDataTask
Available on crate feature NSURLSession
only.
impl Borrow<NSObject> for NSURLSessionDataTask
NSURLSession
only.Source§impl Borrow<NSObject> for NSURLSessionDownloadTask
Available on crate feature NSURLSession
only.
impl Borrow<NSObject> for NSURLSessionDownloadTask
NSURLSession
only.Source§impl Borrow<NSObject> for NSURLSessionStreamTask
Available on crate feature NSURLSession
only.
impl Borrow<NSObject> for NSURLSessionStreamTask
NSURLSession
only.Source§impl Borrow<NSObject> for NSURLSessionTask
Available on crate feature NSURLSession
only.
impl Borrow<NSObject> for NSURLSessionTask
NSURLSession
only.Source§impl Borrow<NSObject> for NSURLSessionTaskMetrics
Available on crate feature NSURLSession
only.
impl Borrow<NSObject> for NSURLSessionTaskMetrics
NSURLSession
only.Source§impl Borrow<NSObject> for NSURLSessionTaskTransactionMetrics
Available on crate feature NSURLSession
only.
impl Borrow<NSObject> for NSURLSessionTaskTransactionMetrics
NSURLSession
only.Source§impl Borrow<NSObject> for NSURLSessionUploadTask
Available on crate feature NSURLSession
only.
impl Borrow<NSObject> for NSURLSessionUploadTask
NSURLSession
only.Source§impl Borrow<NSObject> for NSURLSessionWebSocketMessage
Available on crate feature NSURLSession
only.
impl Borrow<NSObject> for NSURLSessionWebSocketMessage
NSURLSession
only.Source§impl Borrow<NSObject> for NSURLSessionWebSocketTask
Available on crate feature NSURLSession
only.
impl Borrow<NSObject> for NSURLSessionWebSocketTask
NSURLSession
only.Source§impl Borrow<NSObject> for NSUbiquitousKeyValueStore
Available on crate feature NSUbiquitousKeyValueStore
only.
impl Borrow<NSObject> for NSUbiquitousKeyValueStore
NSUbiquitousKeyValueStore
only.Source§impl Borrow<NSObject> for NSUnarchiver
Available on crate features NSArchiver
and NSCoder
only.
impl Borrow<NSObject> for NSUnarchiver
NSArchiver
and NSCoder
only.Source§impl Borrow<NSObject> for NSUndoManager
Available on crate feature NSUndoManager
only.
impl Borrow<NSObject> for NSUndoManager
NSUndoManager
only.Source§impl Borrow<NSObject> for NSUniqueIDSpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl Borrow<NSObject> for NSUniqueIDSpecifier
NSScriptObjectSpecifiers
only.Source§impl Borrow<NSObject> for NSUnitAcceleration
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitAcceleration
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitAngle
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitAngle
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitArea
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitArea
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitConcentrationMass
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitConcentrationMass
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitConverter
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitConverter
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitConverterLinear
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitConverterLinear
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitDispersion
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitDispersion
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitDuration
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitDuration
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitElectricCharge
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitElectricCharge
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitElectricCurrent
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitElectricCurrent
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitElectricPotentialDifference
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitElectricPotentialDifference
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitElectricResistance
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitElectricResistance
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitEnergy
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitEnergy
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitFrequency
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitFrequency
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitFuelEfficiency
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitFuelEfficiency
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitIlluminance
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitIlluminance
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitInformationStorage
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitInformationStorage
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitLength
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitLength
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitMass
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitMass
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitPower
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitPower
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitPressure
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitPressure
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitSpeed
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitSpeed
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitTemperature
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitTemperature
NSUnit
only.Source§impl Borrow<NSObject> for NSUnitVolume
Available on crate feature NSUnit
only.
impl Borrow<NSObject> for NSUnitVolume
NSUnit
only.Source§impl Borrow<NSObject> for NSUserActivity
Available on crate feature NSUserActivity
only.
impl Borrow<NSObject> for NSUserActivity
NSUserActivity
only.Source§impl Borrow<NSObject> for NSUserAppleScriptTask
Available on crate feature NSUserScriptTask
only.
impl Borrow<NSObject> for NSUserAppleScriptTask
NSUserScriptTask
only.Source§impl Borrow<NSObject> for NSUserAutomatorTask
Available on crate feature NSUserScriptTask
only.
impl Borrow<NSObject> for NSUserAutomatorTask
NSUserScriptTask
only.Source§impl Borrow<NSObject> for NSUserDefaults
Available on crate feature NSUserDefaults
only.
impl Borrow<NSObject> for NSUserDefaults
NSUserDefaults
only.Source§impl Borrow<NSObject> for NSUserNotification
Available on crate feature NSUserNotification
only.
impl Borrow<NSObject> for NSUserNotification
NSUserNotification
only.Source§impl Borrow<NSObject> for NSUserNotificationAction
Available on crate feature NSUserNotification
only.
impl Borrow<NSObject> for NSUserNotificationAction
NSUserNotification
only.Source§impl Borrow<NSObject> for NSUserNotificationCenter
Available on crate feature NSUserNotification
only.
impl Borrow<NSObject> for NSUserNotificationCenter
NSUserNotification
only.Source§impl Borrow<NSObject> for NSUserScriptTask
Available on crate feature NSUserScriptTask
only.
impl Borrow<NSObject> for NSUserScriptTask
NSUserScriptTask
only.Source§impl Borrow<NSObject> for NSUserUnixTask
Available on crate feature NSUserScriptTask
only.
impl Borrow<NSObject> for NSUserUnixTask
NSUserScriptTask
only.Source§impl Borrow<NSObject> for NSValueTransformer
Available on crate feature NSValueTransformer
only.
impl Borrow<NSObject> for NSValueTransformer
NSValueTransformer
only.Source§impl Borrow<NSObject> for NSWhoseSpecifier
Available on crate feature NSScriptObjectSpecifiers
only.
impl Borrow<NSObject> for NSWhoseSpecifier
NSScriptObjectSpecifiers
only.Source§impl Borrow<NSObject> for NSXMLDTDNode
Available on crate features NSXMLDTDNode
and NSXMLNode
only.
impl Borrow<NSObject> for NSXMLDTDNode
NSXMLDTDNode
and NSXMLNode
only.Source§impl Borrow<NSObject> for NSXMLDocument
Available on crate features NSXMLDocument
and NSXMLNode
only.
impl Borrow<NSObject> for NSXMLDocument
NSXMLDocument
and NSXMLNode
only.Source§impl Borrow<NSObject> for NSXMLElement
Available on crate features NSXMLElement
and NSXMLNode
only.
impl Borrow<NSObject> for NSXMLElement
NSXMLElement
and NSXMLNode
only.Source§impl Borrow<NSObject> for NSXMLParser
Available on crate feature NSXMLParser
only.
impl Borrow<NSObject> for NSXMLParser
NSXMLParser
only.Source§impl Borrow<NSObject> for NSXPCCoder
Available on crate features NSXPCConnection
and NSCoder
only.
impl Borrow<NSObject> for NSXPCCoder
NSXPCConnection
and NSCoder
only.Source§impl Borrow<NSObject> for NSXPCConnection
Available on crate feature NSXPCConnection
only.
impl Borrow<NSObject> for NSXPCConnection
NSXPCConnection
only.Source§impl Borrow<NSObject> for NSXPCInterface
Available on crate feature NSXPCConnection
only.
impl Borrow<NSObject> for NSXPCInterface
NSXPCConnection
only.Source§impl Borrow<NSObject> for NSXPCListener
Available on crate feature NSXPCConnection
only.
impl Borrow<NSObject> for NSXPCListener
NSXPCConnection
only.Source§impl Borrow<NSObject> for NSXPCListenerEndpoint
Available on crate feature NSXPCConnection
only.
impl Borrow<NSObject> for NSXPCListenerEndpoint
NSXPCConnection
only.Source§impl ClassType for NSObject
impl ClassType for NSObject
Source§const NAME: &'static str = "NSObject"
const NAME: &'static str = "NSObject"
Source§type ThreadKind = dyn AnyThread
type ThreadKind = dyn AnyThread
Source§impl DefaultRetained for NSObject
impl DefaultRetained for NSObject
Source§impl Hash for NSObject
Hashing in Objective-C has the exact same requirement as in Rust:
impl Hash for NSObject
Hashing in Objective-C has the exact same requirement as in Rust:
If two objects are equal (as determined by the isEqual: method), they must have the same hash value.
See https://developer.apple.com/documentation/objectivec/1418956-nsobject/1418859-hash
Source§impl NSObjectNSArchiverCallback for NSObject
Available on crate feature NSArchiver
only.
impl NSObjectNSArchiverCallback for NSObject
NSArchiver
only.unsafe fn classForArchiver(&self) -> Option<&'static AnyClass>
Source§unsafe fn replacementObjectForArchiver(
&self,
archiver: &NSArchiver,
) -> Option<Retained<AnyObject>>
unsafe fn replacementObjectForArchiver( &self, archiver: &NSArchiver, ) -> Option<Retained<AnyObject>>
NSCoder
only.Source§impl NSObjectNSClassDescriptionPrimitives for NSObject
Available on crate feature NSClassDescription
only.
impl NSObjectNSClassDescriptionPrimitives for NSObject
NSClassDescription
only.unsafe fn classDescription(&self) -> Retained<NSClassDescription>
Source§unsafe fn attributeKeys(&self) -> Retained<NSArray<NSString>>
unsafe fn attributeKeys(&self) -> Retained<NSArray<NSString>>
NSArray
and NSString
only.Source§unsafe fn toOneRelationshipKeys(&self) -> Retained<NSArray<NSString>>
unsafe fn toOneRelationshipKeys(&self) -> Retained<NSArray<NSString>>
NSArray
and NSString
only.Source§impl NSObjectNSCoderMethods for NSObject
Available on crate feature NSObject
only.
impl NSObjectNSCoderMethods for NSObject
NSObject
only.Source§impl NSObjectNSComparisonMethods for NSObject
Available on crate feature NSScriptWhoseTests
only.
impl NSObjectNSComparisonMethods for NSObject
NSScriptWhoseTests
only.unsafe fn isEqualTo(&self, object: Option<&AnyObject>) -> bool
unsafe fn isLessThanOrEqualTo(&self, object: Option<&AnyObject>) -> bool
unsafe fn isLessThan(&self, object: Option<&AnyObject>) -> bool
unsafe fn isGreaterThanOrEqualTo(&self, object: Option<&AnyObject>) -> bool
unsafe fn isGreaterThan(&self, object: Option<&AnyObject>) -> bool
unsafe fn isNotEqualTo(&self, object: Option<&AnyObject>) -> bool
unsafe fn doesContain(&self, object: &AnyObject) -> bool
Source§unsafe fn isCaseInsensitiveLike(&self, object: &NSString) -> bool
unsafe fn isCaseInsensitiveLike(&self, object: &NSString) -> bool
NSString
only.Source§impl NSObjectNSDelayedPerforming for NSObject
Available on crate feature NSRunLoop
only.
impl NSObjectNSDelayedPerforming for NSObject
NSRunLoop
only.Source§unsafe fn performSelector_withObject_afterDelay_inModes(
&self,
a_selector: Sel,
an_argument: Option<&AnyObject>,
delay: NSTimeInterval,
modes: &NSArray<NSRunLoopMode>,
)
unsafe fn performSelector_withObject_afterDelay_inModes( &self, a_selector: Sel, an_argument: Option<&AnyObject>, delay: NSTimeInterval, modes: &NSArray<NSRunLoopMode>, )
NSArray
and NSDate
and NSObjCRuntime
and NSString
only.Source§unsafe fn performSelector_withObject_afterDelay(
&self,
a_selector: Sel,
an_argument: Option<&AnyObject>,
delay: NSTimeInterval,
)
unsafe fn performSelector_withObject_afterDelay( &self, a_selector: Sel, an_argument: Option<&AnyObject>, delay: NSTimeInterval, )
NSDate
only.unsafe fn cancelPreviousPerformRequestsWithTarget_selector_object( a_target: &AnyObject, a_selector: Sel, an_argument: Option<&AnyObject>, )
unsafe fn cancelPreviousPerformRequestsWithTarget(a_target: &AnyObject)
Source§impl NSObjectNSDiscardableContentProxy for NSObject
Available on crate feature NSObject
only.
impl NSObjectNSDiscardableContentProxy for NSObject
NSObject
only.unsafe fn autoContentAccessingProxy(&self) -> Retained<AnyObject>
Source§impl NSObjectNSErrorRecoveryAttempting for NSObject
Available on crate feature NSError
only.
impl NSObjectNSErrorRecoveryAttempting for NSObject
NSError
only.unsafe fn attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo( &self, error: &NSError, recovery_option_index: NSUInteger, delegate: Option<&AnyObject>, did_recover_selector: Option<Sel>, context_info: *mut c_void, )
unsafe fn attemptRecoveryFromError_optionIndex( &self, error: &NSError, recovery_option_index: NSUInteger, ) -> bool
Source§impl NSObjectNSKeyValueCoding for NSObject
Available on crate feature NSKeyValueCoding
only.
impl NSObjectNSKeyValueCoding for NSObject
NSKeyValueCoding
only.unsafe fn accessInstanceVariablesDirectly() -> bool
Source§unsafe fn valueForKey(&self, key: &NSString) -> Option<Retained<AnyObject>>
unsafe fn valueForKey(&self, key: &NSString) -> Option<Retained<AnyObject>>
NSString
only.Source§unsafe fn setValue_forKey(&self, value: Option<&AnyObject>, key: &NSString)
unsafe fn setValue_forKey(&self, value: Option<&AnyObject>, key: &NSString)
NSString
only.Source§unsafe fn validateValue_forKey_error(
&self,
io_value: &mut Option<Retained<AnyObject>>,
in_key: &NSString,
) -> Result<(), Retained<NSError>>
unsafe fn validateValue_forKey_error( &self, io_value: &mut Option<Retained<AnyObject>>, in_key: &NSString, ) -> Result<(), Retained<NSError>>
NSError
and NSString
only.Source§unsafe fn mutableArrayValueForKey(
&self,
key: &NSString,
) -> Retained<NSMutableArray>
unsafe fn mutableArrayValueForKey( &self, key: &NSString, ) -> Retained<NSMutableArray>
NSArray
and NSString
only.Source§unsafe fn mutableOrderedSetValueForKey(
&self,
key: &NSString,
) -> Retained<NSMutableOrderedSet>
unsafe fn mutableOrderedSetValueForKey( &self, key: &NSString, ) -> Retained<NSMutableOrderedSet>
NSOrderedSet
and NSString
only.Source§unsafe fn mutableSetValueForKey(&self, key: &NSString) -> Retained<NSMutableSet>
unsafe fn mutableSetValueForKey(&self, key: &NSString) -> Retained<NSMutableSet>
NSSet
and NSString
only.Source§unsafe fn valueForKeyPath(
&self,
key_path: &NSString,
) -> Option<Retained<AnyObject>>
unsafe fn valueForKeyPath( &self, key_path: &NSString, ) -> Option<Retained<AnyObject>>
NSString
only.Source§unsafe fn setValue_forKeyPath(
&self,
value: Option<&AnyObject>,
key_path: &NSString,
)
unsafe fn setValue_forKeyPath( &self, value: Option<&AnyObject>, key_path: &NSString, )
NSString
only.Source§unsafe fn validateValue_forKeyPath_error(
&self,
io_value: &mut Option<Retained<AnyObject>>,
in_key_path: &NSString,
) -> Result<(), Retained<NSError>>
unsafe fn validateValue_forKeyPath_error( &self, io_value: &mut Option<Retained<AnyObject>>, in_key_path: &NSString, ) -> Result<(), Retained<NSError>>
NSError
and NSString
only.Source§unsafe fn mutableArrayValueForKeyPath(
&self,
key_path: &NSString,
) -> Retained<NSMutableArray>
unsafe fn mutableArrayValueForKeyPath( &self, key_path: &NSString, ) -> Retained<NSMutableArray>
NSArray
and NSString
only.Source§unsafe fn mutableOrderedSetValueForKeyPath(
&self,
key_path: &NSString,
) -> Retained<NSMutableOrderedSet>
unsafe fn mutableOrderedSetValueForKeyPath( &self, key_path: &NSString, ) -> Retained<NSMutableOrderedSet>
NSOrderedSet
and NSString
only.Source§unsafe fn mutableSetValueForKeyPath(
&self,
key_path: &NSString,
) -> Retained<NSMutableSet>
unsafe fn mutableSetValueForKeyPath( &self, key_path: &NSString, ) -> Retained<NSMutableSet>
NSSet
and NSString
only.Source§unsafe fn valueForUndefinedKey(
&self,
key: &NSString,
) -> Option<Retained<AnyObject>>
unsafe fn valueForUndefinedKey( &self, key: &NSString, ) -> Option<Retained<AnyObject>>
NSString
only.Source§unsafe fn setValue_forUndefinedKey(
&self,
value: Option<&AnyObject>,
key: &NSString,
)
unsafe fn setValue_forUndefinedKey( &self, value: Option<&AnyObject>, key: &NSString, )
NSString
only.Source§unsafe fn setNilValueForKey(&self, key: &NSString)
unsafe fn setNilValueForKey(&self, key: &NSString)
NSString
only.Source§unsafe fn dictionaryWithValuesForKeys(
&self,
keys: &NSArray<NSString>,
) -> Retained<NSDictionary<NSString, AnyObject>>
unsafe fn dictionaryWithValuesForKeys( &self, keys: &NSArray<NSString>, ) -> Retained<NSDictionary<NSString, AnyObject>>
NSArray
and NSDictionary
and NSString
only.Source§unsafe fn setValuesForKeysWithDictionary(
&self,
keyed_values: &NSDictionary<NSString, AnyObject>,
)
unsafe fn setValuesForKeysWithDictionary( &self, keyed_values: &NSDictionary<NSString, AnyObject>, )
NSDictionary
and NSString
only.Source§impl NSObjectNSKeyValueObserverNotification for NSObject
Available on crate feature NSKeyValueObserving
only.
impl NSObjectNSKeyValueObserverNotification for NSObject
NSKeyValueObserving
only.Source§unsafe fn willChangeValueForKey(&self, key: &NSString)
unsafe fn willChangeValueForKey(&self, key: &NSString)
NSString
only.Source§unsafe fn didChangeValueForKey(&self, key: &NSString)
unsafe fn didChangeValueForKey(&self, key: &NSString)
NSString
only.Source§unsafe fn willChange_valuesAtIndexes_forKey(
&self,
change_kind: NSKeyValueChange,
indexes: &NSIndexSet,
key: &NSString,
)
unsafe fn willChange_valuesAtIndexes_forKey( &self, change_kind: NSKeyValueChange, indexes: &NSIndexSet, key: &NSString, )
NSIndexSet
and NSString
only.Source§unsafe fn didChange_valuesAtIndexes_forKey(
&self,
change_kind: NSKeyValueChange,
indexes: &NSIndexSet,
key: &NSString,
)
unsafe fn didChange_valuesAtIndexes_forKey( &self, change_kind: NSKeyValueChange, indexes: &NSIndexSet, key: &NSString, )
NSIndexSet
and NSString
only.Source§unsafe fn willChangeValueForKey_withSetMutation_usingObjects(
&self,
key: &NSString,
mutation_kind: NSKeyValueSetMutationKind,
objects: &NSSet,
)
unsafe fn willChangeValueForKey_withSetMutation_usingObjects( &self, key: &NSString, mutation_kind: NSKeyValueSetMutationKind, objects: &NSSet, )
NSSet
and NSString
only.Source§unsafe fn didChangeValueForKey_withSetMutation_usingObjects(
&self,
key: &NSString,
mutation_kind: NSKeyValueSetMutationKind,
objects: &NSSet,
)
unsafe fn didChangeValueForKey_withSetMutation_usingObjects( &self, key: &NSString, mutation_kind: NSKeyValueSetMutationKind, objects: &NSSet, )
NSSet
and NSString
only.Source§impl NSObjectNSKeyValueObserverRegistration for NSObject
Available on crate feature NSKeyValueObserving
only.
impl NSObjectNSKeyValueObserverRegistration for NSObject
NSKeyValueObserving
only.Source§unsafe fn addObserver_forKeyPath_options_context(
&self,
observer: &NSObject,
key_path: &NSString,
options: NSKeyValueObservingOptions,
context: *mut c_void,
)
unsafe fn addObserver_forKeyPath_options_context( &self, observer: &NSObject, key_path: &NSString, options: NSKeyValueObservingOptions, context: *mut c_void, )
NSString
only.Source§unsafe fn removeObserver_forKeyPath_context(
&self,
observer: &NSObject,
key_path: &NSString,
context: *mut c_void,
)
unsafe fn removeObserver_forKeyPath_context( &self, observer: &NSObject, key_path: &NSString, context: *mut c_void, )
NSString
only.Source§unsafe fn removeObserver_forKeyPath(
&self,
observer: &NSObject,
key_path: &NSString,
)
unsafe fn removeObserver_forKeyPath( &self, observer: &NSObject, key_path: &NSString, )
NSString
only.Source§impl NSObjectNSKeyValueObserving for NSObject
Available on crate feature NSKeyValueObserving
only.
impl NSObjectNSKeyValueObserving for NSObject
NSKeyValueObserving
only.Source§unsafe fn observeValueForKeyPath_ofObject_change_context(
&self,
key_path: Option<&NSString>,
object: Option<&AnyObject>,
change: Option<&NSDictionary<NSKeyValueChangeKey, AnyObject>>,
context: *mut c_void,
)
unsafe fn observeValueForKeyPath_ofObject_change_context( &self, key_path: Option<&NSString>, object: Option<&AnyObject>, change: Option<&NSDictionary<NSKeyValueChangeKey, AnyObject>>, context: *mut c_void, )
NSDictionary
and NSString
only.Source§impl NSObjectNSKeyValueObservingCustomization for NSObject
Available on crate feature NSKeyValueObserving
only.
impl NSObjectNSKeyValueObservingCustomization for NSObject
NSKeyValueObserving
only.Source§unsafe fn keyPathsForValuesAffectingValueForKey(
key: &NSString,
) -> Retained<NSSet<NSString>>
unsafe fn keyPathsForValuesAffectingValueForKey( key: &NSString, ) -> Retained<NSSet<NSString>>
NSSet
and NSString
only.Source§unsafe fn automaticallyNotifiesObserversForKey(key: &NSString) -> bool
unsafe fn automaticallyNotifiesObserversForKey(key: &NSString) -> bool
NSString
only.unsafe fn observationInfo(&self) -> *mut c_void
Source§unsafe fn setObservationInfo(&self, observation_info: *mut c_void)
unsafe fn setObservationInfo(&self, observation_info: *mut c_void)
observationInfo
.Source§impl NSObjectNSKeyedArchiverObjectSubstitution for NSObject
Available on crate feature NSKeyedArchiver
only.
impl NSObjectNSKeyedArchiverObjectSubstitution for NSObject
NSKeyedArchiver
only.unsafe fn classForKeyedArchiver(&self) -> Option<&'static AnyClass>
Source§unsafe fn replacementObjectForKeyedArchiver(
&self,
archiver: &NSKeyedArchiver,
) -> Option<Retained<AnyObject>>
unsafe fn replacementObjectForKeyedArchiver( &self, archiver: &NSKeyedArchiver, ) -> Option<Retained<AnyObject>>
NSCoder
only.Source§impl NSObjectNSKeyedUnarchiverObjectSubstitution for NSObject
Available on crate feature NSKeyedArchiver
only.
impl NSObjectNSKeyedUnarchiverObjectSubstitution for NSObject
NSKeyedArchiver
only.unsafe fn classForKeyedUnarchiver() -> &'static AnyClass
Source§impl NSObjectNSScriptClassDescription for NSObject
Available on crate feature NSScriptClassDescription
only.
impl NSObjectNSScriptClassDescription for NSObject
NSScriptClassDescription
only.Source§impl NSObjectNSScriptKeyValueCoding for NSObject
Available on crate feature NSScriptKeyValueCoding
only.
impl NSObjectNSScriptKeyValueCoding for NSObject
NSScriptKeyValueCoding
only.Source§unsafe fn valueAtIndex_inPropertyWithKey(
&self,
index: NSUInteger,
key: &NSString,
) -> Option<Retained<AnyObject>>
unsafe fn valueAtIndex_inPropertyWithKey( &self, index: NSUInteger, key: &NSString, ) -> Option<Retained<AnyObject>>
NSString
only.Source§unsafe fn valueWithName_inPropertyWithKey(
&self,
name: &NSString,
key: &NSString,
) -> Option<Retained<AnyObject>>
unsafe fn valueWithName_inPropertyWithKey( &self, name: &NSString, key: &NSString, ) -> Option<Retained<AnyObject>>
NSString
only.Source§unsafe fn valueWithUniqueID_inPropertyWithKey(
&self,
unique_id: &AnyObject,
key: &NSString,
) -> Option<Retained<AnyObject>>
unsafe fn valueWithUniqueID_inPropertyWithKey( &self, unique_id: &AnyObject, key: &NSString, ) -> Option<Retained<AnyObject>>
NSString
only.Source§unsafe fn insertValue_atIndex_inPropertyWithKey(
&self,
value: &AnyObject,
index: NSUInteger,
key: &NSString,
)
unsafe fn insertValue_atIndex_inPropertyWithKey( &self, value: &AnyObject, index: NSUInteger, key: &NSString, )
NSString
only.Source§unsafe fn removeValueAtIndex_fromPropertyWithKey(
&self,
index: NSUInteger,
key: &NSString,
)
unsafe fn removeValueAtIndex_fromPropertyWithKey( &self, index: NSUInteger, key: &NSString, )
NSString
only.Source§unsafe fn replaceValueAtIndex_inPropertyWithKey_withValue(
&self,
index: NSUInteger,
key: &NSString,
value: &AnyObject,
)
unsafe fn replaceValueAtIndex_inPropertyWithKey_withValue( &self, index: NSUInteger, key: &NSString, value: &AnyObject, )
NSString
only.Source§unsafe fn insertValue_inPropertyWithKey(
&self,
value: &AnyObject,
key: &NSString,
)
unsafe fn insertValue_inPropertyWithKey( &self, value: &AnyObject, key: &NSString, )
NSString
only.Source§impl NSObjectNSScriptObjectSpecifiers for NSObject
Available on crate feature NSScriptObjectSpecifiers
only.
impl NSObjectNSScriptObjectSpecifiers for NSObject
NSScriptObjectSpecifiers
only.unsafe fn objectSpecifier(&self) -> Option<Retained<NSScriptObjectSpecifier>>
Source§unsafe fn indicesOfObjectsByEvaluatingObjectSpecifier(
&self,
specifier: &NSScriptObjectSpecifier,
) -> Option<Retained<NSArray<NSNumber>>>
unsafe fn indicesOfObjectsByEvaluatingObjectSpecifier( &self, specifier: &NSScriptObjectSpecifier, ) -> Option<Retained<NSArray<NSNumber>>>
NSArray
and NSValue
only.Source§impl NSObjectNSScripting for NSObject
Available on crate feature NSObjectScripting
only.
impl NSObjectNSScripting for NSObject
NSObjectScripting
only.Source§unsafe fn scriptingValueForSpecifier(
&self,
object_specifier: &NSScriptObjectSpecifier,
) -> Option<Retained<AnyObject>>
unsafe fn scriptingValueForSpecifier( &self, object_specifier: &NSScriptObjectSpecifier, ) -> Option<Retained<AnyObject>>
NSScriptObjectSpecifiers
only.Source§unsafe fn scriptingProperties(
&self,
) -> Option<Retained<NSDictionary<NSString, AnyObject>>>
unsafe fn scriptingProperties( &self, ) -> Option<Retained<NSDictionary<NSString, AnyObject>>>
NSDictionary
and NSString
only.Source§unsafe fn setScriptingProperties(
&self,
scripting_properties: Option<&NSDictionary<NSString, AnyObject>>,
)
unsafe fn setScriptingProperties( &self, scripting_properties: Option<&NSDictionary<NSString, AnyObject>>, )
NSDictionary
and NSString
only.scriptingProperties
.Source§unsafe fn copyScriptingValue_forKey_withProperties(
&self,
value: &AnyObject,
key: &NSString,
properties: &NSDictionary<NSString, AnyObject>,
) -> Option<Retained<AnyObject>>
unsafe fn copyScriptingValue_forKey_withProperties( &self, value: &AnyObject, key: &NSString, properties: &NSDictionary<NSString, AnyObject>, ) -> Option<Retained<AnyObject>>
NSDictionary
and NSString
only.Source§unsafe fn newScriptingObjectOfClass_forValueForKey_withContentsValue_properties(
&self,
object_class: &AnyClass,
key: &NSString,
contents_value: Option<&AnyObject>,
properties: &NSDictionary<NSString, AnyObject>,
) -> Option<Retained<AnyObject>>
unsafe fn newScriptingObjectOfClass_forValueForKey_withContentsValue_properties( &self, object_class: &AnyClass, key: &NSString, contents_value: Option<&AnyObject>, properties: &NSDictionary<NSString, AnyObject>, ) -> Option<Retained<AnyObject>>
NSDictionary
and NSString
only.Source§impl NSObjectNSScriptingComparisonMethods for NSObject
Available on crate feature NSScriptWhoseTests
only.
impl NSObjectNSScriptingComparisonMethods for NSObject
NSScriptWhoseTests
only.unsafe fn scriptingIsEqualTo(&self, object: &AnyObject) -> bool
unsafe fn scriptingIsLessThanOrEqualTo(&self, object: &AnyObject) -> bool
unsafe fn scriptingIsLessThan(&self, object: &AnyObject) -> bool
unsafe fn scriptingIsGreaterThanOrEqualTo(&self, object: &AnyObject) -> bool
unsafe fn scriptingIsGreaterThan(&self, object: &AnyObject) -> bool
unsafe fn scriptingBeginsWith(&self, object: &AnyObject) -> bool
unsafe fn scriptingEndsWith(&self, object: &AnyObject) -> bool
unsafe fn scriptingContains(&self, object: &AnyObject) -> bool
Source§impl NSObjectNSThreadPerformAdditions for NSObject
Available on crate feature NSThread
only.
impl NSObjectNSThreadPerformAdditions for NSObject
NSThread
only.Source§unsafe fn performSelectorOnMainThread_withObject_waitUntilDone_modes(
&self,
a_selector: Sel,
arg: Option<&AnyObject>,
wait: bool,
array: Option<&NSArray<NSString>>,
)
unsafe fn performSelectorOnMainThread_withObject_waitUntilDone_modes( &self, a_selector: Sel, arg: Option<&AnyObject>, wait: bool, array: Option<&NSArray<NSString>>, )
NSArray
and NSString
only.unsafe fn performSelectorOnMainThread_withObject_waitUntilDone( &self, a_selector: Sel, arg: Option<&AnyObject>, wait: bool, )
Source§unsafe fn performSelector_onThread_withObject_waitUntilDone_modes(
&self,
a_selector: Sel,
thr: &NSThread,
arg: Option<&AnyObject>,
wait: bool,
array: Option<&NSArray<NSString>>,
)
unsafe fn performSelector_onThread_withObject_waitUntilDone_modes( &self, a_selector: Sel, thr: &NSThread, arg: Option<&AnyObject>, wait: bool, array: Option<&NSArray<NSString>>, )
NSArray
and NSString
only.unsafe fn performSelector_onThread_withObject_waitUntilDone( &self, a_selector: Sel, thr: &NSThread, arg: Option<&AnyObject>, wait: bool, )
unsafe fn performSelectorInBackground_withObject( &self, a_selector: Sel, arg: Option<&AnyObject>, )
Source§impl NSObjectProtocol for NSObject
impl NSObjectProtocol for NSObject
Source§fn isEqual(&self, other: Option<&AnyObject>) -> bool
fn isEqual(&self, other: Option<&AnyObject>) -> bool
Source§fn hash(&self) -> usize
fn hash(&self) -> usize
Source§fn isKindOfClass(&self, cls: &AnyClass) -> bool
fn isKindOfClass(&self, cls: &AnyClass) -> bool
Source§fn is_kind_of<T>(&self) -> bool
fn is_kind_of<T>(&self) -> bool
isKindOfClass
directly, or cast your objects with AnyObject::downcast_ref
Source§fn isMemberOfClass(&self, cls: &AnyClass) -> bool
fn isMemberOfClass(&self, cls: &AnyClass) -> bool
Source§fn respondsToSelector(&self, aSelector: Sel) -> bool
fn respondsToSelector(&self, aSelector: Sel) -> bool
Source§fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
Source§fn debugDescription(&self) -> Retained<NSObject>
fn debugDescription(&self) -> Retained<NSObject>
Source§impl PartialEq for NSObject
Objective-C equality has approximately the same semantics as Rust
equality (although less aptly specified).
impl PartialEq for NSObject
Objective-C equality has approximately the same semantics as Rust equality (although less aptly specified).
At the very least, equality is expected to be symmetric and transitive, and that’s about the best we can do.
See also https://nshipster.com/equality/
Source§impl RefEncode for NSObject
impl RefEncode for NSObject
Source§const ENCODING_REF: Encoding = <AnyObject as crate::RefEncode>::ENCODING_REF
const ENCODING_REF: Encoding = <AnyObject as crate::RefEncode>::ENCODING_REF
impl DowncastTarget for NSObject
impl Eq for NSObject
Most types’ equality is reflexive.