[−][src]Struct uikit_sys::NSNumber
Implementations
impl NSNumber
[src]
Methods from Deref<Target = Object>
pub fn class(&self) -> &Class
[src]
Returns the class of self.
pub unsafe fn get_ivar<T>(&self, name: &str) -> &T where
T: Encode,
[src]
T: Encode,
Returns a reference to the ivar of self with the given name.
Panics if self has no ivar with the given name.
Unsafe because the caller must ensure that the ivar is actually
of type T
.
Trait Implementations
impl Clone for NSNumber
[src]
impl Copy for NSNumber
[src]
impl Deref for NSNumber
[src]
impl INSNumber for NSNumber
[src]
unsafe fn initWithCoder_(self, coder: NSCoder) -> instancetype where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn initWithChar_(self, value: c_char) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn initWithUnsignedChar_(self, value: c_uchar) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn initWithShort_(self, value: c_short) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn initWithUnsignedShort_(self, value: c_ushort) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn initWithInt_(self, value: c_int) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn initWithUnsignedInt_(self, value: c_uint) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn initWithLong_(self, value: c_long) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn initWithUnsignedLong_(self, value: c_ulong) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn initWithLongLong_(self, value: c_longlong) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn initWithUnsignedLongLong_(self, value: c_ulonglong) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn initWithFloat_(self, value: f32) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn initWithDouble_(self, value: f64) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn initWithBool_(self, value: BOOL) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn initWithInteger_(self, value: NSInteger) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn initWithUnsignedInteger_(self, value: NSUInteger) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn compare_(self, otherNumber: NSNumber) -> NSComparisonResult where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn isEqualToNumber_(self, number: NSNumber) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn descriptionWithLocale_(self, locale: id) -> NSString where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn charValue(self) -> c_char where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn unsignedCharValue(self) -> c_uchar where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn shortValue(self) -> c_short where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn unsignedShortValue(self) -> c_ushort where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn intValue(self) -> c_int where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn unsignedIntValue(self) -> c_uint where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn longValue(self) -> c_long where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn unsignedLongValue(self) -> c_ulong where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn longLongValue(self) -> c_longlong where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn unsignedLongLongValue(self) -> c_ulonglong where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn floatValue(self) -> f32 where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn doubleValue(self) -> f64 where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn boolValue(self) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn integerValue(self) -> NSInteger where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn unsignedIntegerValue(self) -> NSUInteger where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn stringValue(self) -> NSString where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
impl INSObject for NSNumber
[src]
unsafe fn init(self) -> instancetype where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn dealloc(self) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn finalize(self) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn copy(self) -> id where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn mutableCopy(self) -> id where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn methodForSelector_(self, aSelector: Sel) -> IMP where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn doesNotRecognizeSelector_(self, aSelector: Sel) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn forwardingTargetForSelector_(self, aSelector: Sel) -> id where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn forwardInvocation_(self, anInvocation: NSInvocation) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn methodSignatureForSelector_(self, aSelector: Sel) -> NSMethodSignature where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn allowsWeakReference(self) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn retainWeakReference(self) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn load() where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn initialize() where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn new() -> instancetype where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn allocWithZone_(zone: *mut _NSZone) -> instancetype where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn alloc() -> instancetype where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn copyWithZone_(zone: *mut _NSZone) -> id where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn mutableCopyWithZone_(zone: *mut _NSZone) -> id where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn instancesRespondToSelector_(aSelector: Sel) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn conformsToProtocol_(protocol: Protocol) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn instanceMethodForSelector_(aSelector: Sel) -> IMP where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn instanceMethodSignatureForSelector_(
aSelector: Sel
) -> NSMethodSignature where
Self::Target: Message + Sized,
[src]
aSelector: Sel
) -> NSMethodSignature where
Self::Target: Message + Sized,
unsafe fn isSubclassOfClass_(aClass: Class) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn resolveClassMethod_(sel: Sel) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn resolveInstanceMethod_(sel: Sel) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn hash() -> NSUInteger where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn superclass() -> Class where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn class() -> Class where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn description() -> NSString where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn debugDescription() -> NSString where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
impl INSValue for NSNumber
[src]
unsafe fn getValue_size_(self, value: *mut c_void, size: NSUInteger) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn initWithBytes_objCType_(
self,
value: *const c_void,
type_: *const c_char
) -> instancetype where
Self::Target: Message + Sized,
[src]
self,
value: *const c_void,
type_: *const c_char
) -> instancetype where
Self::Target: Message + Sized,
unsafe fn initWithCoder_(self, coder: NSCoder) -> instancetype where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn objCType(self) -> *const c_char where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
impl Message for NSNumber
[src]
unsafe fn send_message<A, R>(
&self,
sel: Sel,
args: A
) -> Result<R, MessageError> where
A: MessageArguments,
R: Any,
[src]
&self,
sel: Sel,
args: A
) -> Result<R, MessageError> where
A: MessageArguments,
R: Any,
fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError> where
A: EncodeArguments,
R: Encode,
[src]
A: EncodeArguments,
R: Encode,
impl NSNumber_NSDecimalNumberExtensions for NSNumber
[src]
impl NSNumber_NSNumberCreation for NSNumber
[src]
unsafe fn numberWithChar_(value: c_char) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn numberWithUnsignedChar_(value: c_uchar) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn numberWithShort_(value: c_short) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn numberWithUnsignedShort_(value: c_ushort) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn numberWithInt_(value: c_int) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn numberWithUnsignedInt_(value: c_uint) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn numberWithLong_(value: c_long) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn numberWithUnsignedLong_(value: c_ulong) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn numberWithLongLong_(value: c_longlong) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn numberWithUnsignedLongLong_(value: c_ulonglong) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn numberWithFloat_(value: f32) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn numberWithDouble_(value: f64) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn numberWithBool_(value: BOOL) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn numberWithInteger_(value: NSInteger) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn numberWithUnsignedInteger_(value: NSUInteger) -> NSNumber where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
impl NSObject_CIImageProvider for NSNumber
[src]
unsafe fn provideImageData_bytesPerRow_origin__size__userInfo_(
self,
data: *mut c_void,
rowbytes: size_t,
x: size_t,
y: size_t,
width: size_t,
height: size_t,
info: id
) where
Self::Target: Message + Sized,
[src]
self,
data: *mut c_void,
rowbytes: size_t,
x: size_t,
y: size_t,
width: size_t,
height: size_t,
info: id
) where
Self::Target: Message + Sized,
impl NSObject_NSCoderMethods for NSNumber
[src]
unsafe fn replacementObjectForCoder_(self, coder: NSCoder) -> id where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn awakeAfterUsingCoder_(self, coder: NSCoder) -> id where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn classForCoder(self) -> Class where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn version() -> NSInteger where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setVersion_(aVersion: NSInteger) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
impl NSObject_NSCopyLinkMoveHandler for NSNumber
[src]
unsafe fn fileManager_shouldProceedAfterError_(
self,
fm: NSFileManager,
errorInfo: NSDictionary
) -> BOOL where
Self::Target: Message + Sized,
[src]
self,
fm: NSFileManager,
errorInfo: NSDictionary
) -> BOOL where
Self::Target: Message + Sized,
unsafe fn fileManager_willProcessPath_(self, fm: NSFileManager, path: NSString) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
impl NSObject_NSDelayedPerforming for NSNumber
[src]
unsafe fn performSelector_withObject_afterDelay_inModes_(
self,
aSelector: Sel,
anArgument: id,
delay: NSTimeInterval,
modes: NSArray
) where
Self::Target: Message + Sized,
[src]
self,
aSelector: Sel,
anArgument: id,
delay: NSTimeInterval,
modes: NSArray
) where
Self::Target: Message + Sized,
unsafe fn performSelector_withObject_afterDelay_(
self,
aSelector: Sel,
anArgument: id,
delay: NSTimeInterval
) where
Self::Target: Message + Sized,
[src]
self,
aSelector: Sel,
anArgument: id,
delay: NSTimeInterval
) where
Self::Target: Message + Sized,
unsafe fn cancelPreviousPerformRequestsWithTarget_selector_object_(
aTarget: id,
aSelector: Sel,
anArgument: id
) where
Self::Target: Message + Sized,
[src]
aTarget: id,
aSelector: Sel,
anArgument: id
) where
Self::Target: Message + Sized,
unsafe fn cancelPreviousPerformRequestsWithTarget_(aTarget: id) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
impl NSObject_NSDiscardableContentProxy for NSNumber
[src]
impl NSObject_NSErrorRecoveryAttempting for NSNumber
[src]
unsafe fn attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_(
self,
error: NSError,
recoveryOptionIndex: NSUInteger,
delegate: id,
didRecoverSelector: Sel,
contextInfo: *mut c_void
) where
Self::Target: Message + Sized,
[src]
self,
error: NSError,
recoveryOptionIndex: NSUInteger,
delegate: id,
didRecoverSelector: Sel,
contextInfo: *mut c_void
) where
Self::Target: Message + Sized,
unsafe fn attemptRecoveryFromError_optionIndex_(
self,
error: NSError,
recoveryOptionIndex: NSUInteger
) -> BOOL where
Self::Target: Message + Sized,
[src]
self,
error: NSError,
recoveryOptionIndex: NSUInteger
) -> BOOL where
Self::Target: Message + Sized,
impl NSObject_NSKeyValueCoding for NSNumber
[src]
unsafe fn valueForKey_(self, key: NSString) -> id where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setValue_forKey_(self, value: id, key: NSString) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn validateValue_forKey_error_(
self,
ioValue: *mut id,
inKey: NSString,
outError: *mut NSError
) -> BOOL where
Self::Target: Message + Sized,
[src]
self,
ioValue: *mut id,
inKey: NSString,
outError: *mut NSError
) -> BOOL where
Self::Target: Message + Sized,
unsafe fn mutableArrayValueForKey_(self, key: NSString) -> NSMutableArray where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn mutableOrderedSetValueForKey_(
self,
key: NSString
) -> NSMutableOrderedSet where
Self::Target: Message + Sized,
[src]
self,
key: NSString
) -> NSMutableOrderedSet where
Self::Target: Message + Sized,
unsafe fn mutableSetValueForKey_(self, key: NSString) -> NSMutableSet where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn valueForKeyPath_(self, keyPath: NSString) -> id where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setValue_forKeyPath_(self, value: id, keyPath: NSString) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn validateValue_forKeyPath_error_(
self,
ioValue: *mut id,
inKeyPath: NSString,
outError: *mut NSError
) -> BOOL where
Self::Target: Message + Sized,
[src]
self,
ioValue: *mut id,
inKeyPath: NSString,
outError: *mut NSError
) -> BOOL where
Self::Target: Message + Sized,
unsafe fn mutableArrayValueForKeyPath_(
self,
keyPath: NSString
) -> NSMutableArray where
Self::Target: Message + Sized,
[src]
self,
keyPath: NSString
) -> NSMutableArray where
Self::Target: Message + Sized,
unsafe fn mutableOrderedSetValueForKeyPath_(
self,
keyPath: NSString
) -> NSMutableOrderedSet where
Self::Target: Message + Sized,
[src]
self,
keyPath: NSString
) -> NSMutableOrderedSet where
Self::Target: Message + Sized,
unsafe fn mutableSetValueForKeyPath_(self, keyPath: NSString) -> NSMutableSet where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn valueForUndefinedKey_(self, key: NSString) -> id where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setValue_forUndefinedKey_(self, value: id, key: NSString) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setNilValueForKey_(self, key: NSString) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn dictionaryWithValuesForKeys_(self, keys: NSArray) -> NSDictionary where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setValuesForKeysWithDictionary_(self, keyedValues: NSDictionary) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn accessInstanceVariablesDirectly() -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
impl NSObject_NSKeyValueObserverNotification for NSNumber
[src]
unsafe fn willChangeValueForKey_(self, key: NSString) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn didChangeValueForKey_(self, key: NSString) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn willChange_valuesAtIndexes_forKey_(
self,
changeKind: NSKeyValueChange,
indexes: NSIndexSet,
key: NSString
) where
Self::Target: Message + Sized,
[src]
self,
changeKind: NSKeyValueChange,
indexes: NSIndexSet,
key: NSString
) where
Self::Target: Message + Sized,
unsafe fn didChange_valuesAtIndexes_forKey_(
self,
changeKind: NSKeyValueChange,
indexes: NSIndexSet,
key: NSString
) where
Self::Target: Message + Sized,
[src]
self,
changeKind: NSKeyValueChange,
indexes: NSIndexSet,
key: NSString
) where
Self::Target: Message + Sized,
unsafe fn willChangeValueForKey_withSetMutation_usingObjects_(
self,
key: NSString,
mutationKind: NSKeyValueSetMutationKind,
objects: NSSet
) where
Self::Target: Message + Sized,
[src]
self,
key: NSString,
mutationKind: NSKeyValueSetMutationKind,
objects: NSSet
) where
Self::Target: Message + Sized,
unsafe fn didChangeValueForKey_withSetMutation_usingObjects_(
self,
key: NSString,
mutationKind: NSKeyValueSetMutationKind,
objects: NSSet
) where
Self::Target: Message + Sized,
[src]
self,
key: NSString,
mutationKind: NSKeyValueSetMutationKind,
objects: NSSet
) where
Self::Target: Message + Sized,
impl NSObject_NSKeyValueObserverRegistration for NSNumber
[src]
unsafe fn addObserver_forKeyPath_options_context_(
self,
observer: NSObject,
keyPath: NSString,
options: NSKeyValueObservingOptions,
context: *mut c_void
) where
Self::Target: Message + Sized,
[src]
self,
observer: NSObject,
keyPath: NSString,
options: NSKeyValueObservingOptions,
context: *mut c_void
) where
Self::Target: Message + Sized,
unsafe fn removeObserver_forKeyPath_context_(
self,
observer: NSObject,
keyPath: NSString,
context: *mut c_void
) where
Self::Target: Message + Sized,
[src]
self,
observer: NSObject,
keyPath: NSString,
context: *mut c_void
) where
Self::Target: Message + Sized,
unsafe fn removeObserver_forKeyPath_(
self,
observer: NSObject,
keyPath: NSString
) where
Self::Target: Message + Sized,
[src]
self,
observer: NSObject,
keyPath: NSString
) where
Self::Target: Message + Sized,
impl NSObject_NSKeyValueObserving for NSNumber
[src]
unsafe fn observeValueForKeyPath_ofObject_change_context_(
self,
keyPath: NSString,
object: id,
change: NSDictionary,
context: *mut c_void
) where
Self::Target: Message + Sized,
[src]
self,
keyPath: NSString,
object: id,
change: NSDictionary,
context: *mut c_void
) where
Self::Target: Message + Sized,
impl NSObject_NSKeyValueObservingCustomization for NSNumber
[src]
unsafe fn observationInfo(self) -> *mut c_void where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setObservationInfo_(self, observationInfo: *mut c_void) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn keyPathsForValuesAffectingValueForKey_(key: NSString) -> NSSet where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn automaticallyNotifiesObserversForKey_(key: NSString) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
impl NSObject_NSKeyedArchiverObjectSubstitution for NSNumber
[src]
unsafe fn replacementObjectForKeyedArchiver_(
self,
archiver: NSKeyedArchiver
) -> id where
Self::Target: Message + Sized,
[src]
self,
archiver: NSKeyedArchiver
) -> id where
Self::Target: Message + Sized,
unsafe fn classForKeyedArchiver(self) -> Class where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn classFallbacksForKeyedArchiver() -> NSArray where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
impl NSObject_NSKeyedUnarchiverObjectSubstitution for NSNumber
[src]
impl NSObject_NSThreadPerformAdditions for NSNumber
[src]
unsafe fn performSelectorOnMainThread_withObject_waitUntilDone_modes_(
self,
aSelector: Sel,
arg: id,
wait: BOOL,
array: NSArray
) where
Self::Target: Message + Sized,
[src]
self,
aSelector: Sel,
arg: id,
wait: BOOL,
array: NSArray
) where
Self::Target: Message + Sized,
unsafe fn performSelectorOnMainThread_withObject_waitUntilDone_(
self,
aSelector: Sel,
arg: id,
wait: BOOL
) where
Self::Target: Message + Sized,
[src]
self,
aSelector: Sel,
arg: id,
wait: BOOL
) where
Self::Target: Message + Sized,
unsafe fn performSelector_onThread_withObject_waitUntilDone_modes_(
self,
aSelector: Sel,
thr: NSThread,
arg: id,
wait: BOOL,
array: NSArray
) where
Self::Target: Message + Sized,
[src]
self,
aSelector: Sel,
thr: NSThread,
arg: id,
wait: BOOL,
array: NSArray
) where
Self::Target: Message + Sized,
unsafe fn performSelector_onThread_withObject_waitUntilDone_(
self,
aSelector: Sel,
thr: NSThread,
arg: id,
wait: BOOL
) where
Self::Target: Message + Sized,
[src]
self,
aSelector: Sel,
thr: NSThread,
arg: id,
wait: BOOL
) where
Self::Target: Message + Sized,
unsafe fn performSelectorInBackground_withObject_(self, aSelector: Sel, arg: id) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
impl NSObject_UIAccessibility for NSNumber
[src]
unsafe fn isAccessibilityElement(self) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setIsAccessibilityElement_(self, isAccessibilityElement: BOOL) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn accessibilityLabel(self) -> NSString where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityLabel_(self, accessibilityLabel: NSString) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn accessibilityAttributedLabel(self) -> NSAttributedString where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityAttributedLabel_(
self,
accessibilityAttributedLabel: NSAttributedString
) where
Self::Target: Message + Sized,
[src]
self,
accessibilityAttributedLabel: NSAttributedString
) where
Self::Target: Message + Sized,
unsafe fn accessibilityHint(self) -> NSString where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityHint_(self, accessibilityHint: NSString) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn accessibilityAttributedHint(self) -> NSAttributedString where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityAttributedHint_(
self,
accessibilityAttributedHint: NSAttributedString
) where
Self::Target: Message + Sized,
[src]
self,
accessibilityAttributedHint: NSAttributedString
) where
Self::Target: Message + Sized,
unsafe fn accessibilityValue(self) -> NSString where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityValue_(self, accessibilityValue: NSString) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn accessibilityAttributedValue(self) -> NSAttributedString where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityAttributedValue_(
self,
accessibilityAttributedValue: NSAttributedString
) where
Self::Target: Message + Sized,
[src]
self,
accessibilityAttributedValue: NSAttributedString
) where
Self::Target: Message + Sized,
unsafe fn accessibilityTraits(self) -> UIAccessibilityTraits where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityTraits_(
self,
accessibilityTraits: UIAccessibilityTraits
) where
Self::Target: Message + Sized,
[src]
self,
accessibilityTraits: UIAccessibilityTraits
) where
Self::Target: Message + Sized,
unsafe fn accessibilityFrame(self) -> CGRect where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityFrame_(self, accessibilityFrame: CGRect) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn accessibilityPath(self) -> UIBezierPath where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityPath_(self, accessibilityPath: UIBezierPath) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn accessibilityActivationPoint(self) -> CGPoint where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityActivationPoint_(
self,
accessibilityActivationPoint: CGPoint
) where
Self::Target: Message + Sized,
[src]
self,
accessibilityActivationPoint: CGPoint
) where
Self::Target: Message + Sized,
unsafe fn accessibilityLanguage(self) -> NSString where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityLanguage_(self, accessibilityLanguage: NSString) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn accessibilityElementsHidden(self) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityElementsHidden_(
self,
accessibilityElementsHidden: BOOL
) where
Self::Target: Message + Sized,
[src]
self,
accessibilityElementsHidden: BOOL
) where
Self::Target: Message + Sized,
unsafe fn accessibilityViewIsModal(self) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityViewIsModal_(self, accessibilityViewIsModal: BOOL) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn shouldGroupAccessibilityChildren(self) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setShouldGroupAccessibilityChildren_(
self,
shouldGroupAccessibilityChildren: BOOL
) where
Self::Target: Message + Sized,
[src]
self,
shouldGroupAccessibilityChildren: BOOL
) where
Self::Target: Message + Sized,
unsafe fn accessibilityNavigationStyle(self) -> UIAccessibilityNavigationStyle where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityNavigationStyle_(
self,
accessibilityNavigationStyle: UIAccessibilityNavigationStyle
) where
Self::Target: Message + Sized,
[src]
self,
accessibilityNavigationStyle: UIAccessibilityNavigationStyle
) where
Self::Target: Message + Sized,
unsafe fn accessibilityRespondsToUserInteraction(self) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityRespondsToUserInteraction_(
self,
accessibilityRespondsToUserInteraction: BOOL
) where
Self::Target: Message + Sized,
[src]
self,
accessibilityRespondsToUserInteraction: BOOL
) where
Self::Target: Message + Sized,
unsafe fn accessibilityUserInputLabels(self) -> NSArray where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityUserInputLabels_(
self,
accessibilityUserInputLabels: NSArray
) where
Self::Target: Message + Sized,
[src]
self,
accessibilityUserInputLabels: NSArray
) where
Self::Target: Message + Sized,
unsafe fn accessibilityAttributedUserInputLabels(self) -> NSArray where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityAttributedUserInputLabels_(
self,
accessibilityAttributedUserInputLabels: NSArray
) where
Self::Target: Message + Sized,
[src]
self,
accessibilityAttributedUserInputLabels: NSArray
) where
Self::Target: Message + Sized,
unsafe fn accessibilityHeaderElements(self) -> NSArray where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityHeaderElements_(
self,
accessibilityHeaderElements: NSArray
) where
Self::Target: Message + Sized,
[src]
self,
accessibilityHeaderElements: NSArray
) where
Self::Target: Message + Sized,
unsafe fn accessibilityTextualContext(self) -> UIAccessibilityTextualContext where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityTextualContext_(
self,
accessibilityTextualContext: NSString
) where
Self::Target: Message + Sized,
[src]
self,
accessibilityTextualContext: NSString
) where
Self::Target: Message + Sized,
impl NSObject_UIAccessibilityAction for NSNumber
[src]
unsafe fn accessibilityActivate(self) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn accessibilityIncrement(self) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn accessibilityDecrement(self) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn accessibilityScroll_(
self,
direction: UIAccessibilityScrollDirection
) -> BOOL where
Self::Target: Message + Sized,
[src]
self,
direction: UIAccessibilityScrollDirection
) -> BOOL where
Self::Target: Message + Sized,
unsafe fn accessibilityPerformEscape(self) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn accessibilityPerformMagicTap(self) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn accessibilityCustomActions(self) -> NSArray where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityCustomActions_(
self,
accessibilityCustomActions: NSArray
) where
Self::Target: Message + Sized,
[src]
self,
accessibilityCustomActions: NSArray
) where
Self::Target: Message + Sized,
impl NSObject_UIAccessibilityContainer for NSNumber
[src]
unsafe fn accessibilityElementCount(self) -> NSInteger where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn accessibilityElementAtIndex_(self, index: NSInteger) -> id where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn indexOfAccessibilityElement_(self, element: id) -> NSInteger where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn accessibilityElements(self) -> NSArray where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityElements_(self, accessibilityElements: NSArray) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn accessibilityContainerType(self) -> UIAccessibilityContainerType where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityContainerType_(
self,
accessibilityContainerType: UIAccessibilityContainerType
) where
Self::Target: Message + Sized,
[src]
self,
accessibilityContainerType: UIAccessibilityContainerType
) where
Self::Target: Message + Sized,
impl NSObject_UIAccessibilityCustomRotor for NSNumber
[src]
unsafe fn accessibilityCustomRotors(self) -> NSArray where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityCustomRotors_(
self,
accessibilityCustomRotors: NSArray
) where
Self::Target: Message + Sized,
[src]
self,
accessibilityCustomRotors: NSArray
) where
Self::Target: Message + Sized,
impl NSObject_UIAccessibilityDragging for NSNumber
[src]
unsafe fn accessibilityDragSourceDescriptors(self) -> NSArray where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityDragSourceDescriptors_(
self,
accessibilityDragSourceDescriptors: NSArray
) where
Self::Target: Message + Sized,
[src]
self,
accessibilityDragSourceDescriptors: NSArray
) where
Self::Target: Message + Sized,
unsafe fn accessibilityDropPointDescriptors(self) -> NSArray where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn setAccessibilityDropPointDescriptors_(
self,
accessibilityDropPointDescriptors: NSArray
) where
Self::Target: Message + Sized,
[src]
self,
accessibilityDropPointDescriptors: NSArray
) where
Self::Target: Message + Sized,
impl NSObject_UIAccessibilityFocus for NSNumber
[src]
unsafe fn accessibilityElementDidBecomeFocused(self) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn accessibilityElementDidLoseFocus(self) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn accessibilityElementIsFocused(self) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn accessibilityAssistiveTechnologyFocusedIdentifiers(self) -> NSSet where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
impl NSObject_UINibLoadingAdditions for NSNumber
[src]
unsafe fn awakeFromNib(self) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn prepareForInterfaceBuilder(self) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
impl NSValue_CATransform3DAdditions for NSNumber
[src]
unsafe fn CATransform3DValue(self) -> CATransform3D where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn valueWithCATransform3D_(t: CATransform3D) -> NSValue where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
impl NSValue_NSDeprecated for NSNumber
[src]
impl NSValue_NSValueCreation for NSNumber
[src]
unsafe fn valueWithBytes_objCType_(
value: *const c_void,
type_: *const c_char
) -> NSValue where
Self::Target: Message + Sized,
[src]
value: *const c_void,
type_: *const c_char
) -> NSValue where
Self::Target: Message + Sized,
unsafe fn value_withObjCType_(
value: *const c_void,
type_: *const c_char
) -> NSValue where
Self::Target: Message + Sized,
[src]
value: *const c_void,
type_: *const c_char
) -> NSValue where
Self::Target: Message + Sized,
impl NSValue_NSValueExtensionMethods for NSNumber
[src]
unsafe fn isEqualToValue_(self, value: NSValue) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn nonretainedObjectValue(self) -> id where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn pointerValue(self) -> *mut c_void where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn valueWithNonretainedObject_(anObject: id) -> NSValue where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn valueWithPointer_(pointer: *const c_void) -> NSValue where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
impl NSValue_NSValueRangeExtensions for NSNumber
[src]
unsafe fn rangeValue(self) -> NSRange where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn valueWithRange_(range: NSRange) -> NSValue where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
impl NSValue_NSValueUIGeometryExtensions for NSNumber
[src]
unsafe fn CGPointValue(self) -> CGPoint where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn CGVectorValue(self) -> CGVector where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn CGSizeValue(self) -> CGSize where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn CGRectValue(self) -> CGRect where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn CGAffineTransformValue(self) -> CGAffineTransform where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn UIEdgeInsetsValue(self) -> UIEdgeInsets where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn directionalEdgeInsetsValue(self) -> NSDirectionalEdgeInsets where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn UIOffsetValue(self) -> UIOffset where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn valueWithCGPoint_(point: CGPoint) -> NSValue where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn valueWithCGVector_(vector: CGVector) -> NSValue where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn valueWithCGSize_(size: CGSize) -> NSValue where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn valueWithCGRect_(rect: CGRect) -> NSValue where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn valueWithCGAffineTransform_(transform: CGAffineTransform) -> NSValue where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn valueWithUIEdgeInsets_(insets: UIEdgeInsets) -> NSValue where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn valueWithDirectionalEdgeInsets_(
insets: NSDirectionalEdgeInsets
) -> NSValue where
Self::Target: Message + Sized,
[src]
insets: NSDirectionalEdgeInsets
) -> NSValue where
Self::Target: Message + Sized,
unsafe fn valueWithUIOffset_(insets: UIOffset) -> NSValue where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
Auto Trait Implementations
impl RefUnwindSafe for NSNumber
impl !Send for NSNumber
impl !Sync for NSNumber
impl Unpin for NSNumber
impl UnwindSafe for NSNumber
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,