Trait objc2_foundation::NSCoding

source ·
pub unsafe trait NSCoding {
    // Provided methods
    unsafe fn encodeWithCoder(&self, coder: &NSCoder)
       where Self: Sized + Message { ... }
    unsafe fn initWithCoder(
        this: Allocated<Self>,
        coder: &NSCoder
    ) -> Option<Id<Self>>
       where Self: Sized + Message { ... }
}
Available on crate feature NSObject only.

Provided Methods§

source

unsafe fn encodeWithCoder(&self, coder: &NSCoder)
where Self: Sized + Message,

Available on crate feature NSCoder only.
source

unsafe fn initWithCoder( this: Allocated<Self>, coder: &NSCoder ) -> Option<Id<Self>>
where Self: Sized + Message,

Available on crate feature NSCoder only.

Trait Implementations§

source§

impl ProtocolType for dyn NSCoding

source§

const NAME: &'static str = "NSCoding"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn NSCoding
where T: ?Sized + Message + NSCoding,

Implementations on Foreign Types§

source§

impl<T> NSCoding for ProtocolObject<T>
where T: ?Sized + NSCoding,

Implementors§

source§

impl NSCoding for NSAffineTransform

Available on crate feature NSAffineTransform only.
source§

impl NSCoding for NSAppleEventDescriptor

Available on crate feature NSAppleEventDescriptor only.
source§

impl NSCoding for NSAttributedString

Available on crate feature NSAttributedString only.
source§

impl NSCoding for NSAttributedStringMarkdownSourcePosition

Available on crate feature NSAttributedString only.
source§

impl NSCoding for NSByteCountFormatter

Available on crate features NSFormatter and NSByteCountFormatter only.
source§

impl NSCoding for NSCachedURLResponse

Available on crate feature NSURLCache only.
source§

impl NSCoding for NSCalendar

Available on crate feature NSCalendar only.
source§

impl NSCoding for NSCalendarDate

Available on crate features NSDate and NSCalendarDate only.
source§

impl NSCoding for NSCharacterSet

Available on crate feature NSCharacterSet only.
source§

impl NSCoding for NSCloneCommand

Available on crate features NSScriptCommand and NSScriptStandardSuiteCommands only.
source§

impl NSCoding for NSCloseCommand

Available on crate features NSScriptCommand and NSScriptStandardSuiteCommands only.
source§

impl NSCoding for NSComparisonPredicate

Available on crate features NSPredicate and NSComparisonPredicate only.
source§

impl NSCoding for NSCompoundPredicate

Available on crate features NSPredicate and NSCompoundPredicate only.
source§

impl NSCoding for NSConstantString

Available on crate feature NSString only.
source§

impl NSCoding for NSCountCommand

Available on crate features NSScriptCommand and NSScriptStandardSuiteCommands only.
source§

impl NSCoding for NSCreateCommand

Available on crate features NSScriptCommand and NSScriptStandardSuiteCommands only.
source§

impl NSCoding for NSData

Available on crate feature NSData only.
source§

impl NSCoding for NSDataDetector

Available on crate feature NSRegularExpression only.
source§

impl NSCoding for NSDate

Available on crate feature NSDate only.
source§

impl NSCoding for NSDateComponents

Available on crate feature NSCalendar only.
source§

impl NSCoding for NSDateComponentsFormatter

Available on crate features NSFormatter and NSDateComponentsFormatter only.
source§

impl NSCoding for NSDateFormatter

Available on crate features NSFormatter and NSDateFormatter only.
source§

impl NSCoding for NSDateInterval

Available on crate feature NSDateInterval only.
source§

impl NSCoding for NSDateIntervalFormatter

Available on crate features NSFormatter and NSDateIntervalFormatter only.
source§

impl NSCoding for NSDecimalNumber

Available on crate features NSValue and NSDecimalNumber only.
source§

impl NSCoding for NSDecimalNumberHandler

Available on crate feature NSDecimalNumber only.
source§

impl NSCoding for NSDeleteCommand

Available on crate features NSScriptCommand and NSScriptStandardSuiteCommands only.
source§

impl NSCoding for NSDimension

Available on crate feature NSUnit only.
source§

impl NSCoding for NSDistantObject

Available on crate features NSProxy and NSDistantObject only.
source§

impl NSCoding for NSEnergyFormatter

Available on crate features NSFormatter and NSEnergyFormatter only.
source§

impl NSCoding for NSError

Available on crate feature NSError only.
source§

impl NSCoding for NSException

Available on crate feature NSException only.
source§

impl NSCoding for NSExistsCommand

Available on crate features NSScriptCommand and NSScriptStandardSuiteCommands only.
source§

impl NSCoding for NSExpression

Available on crate feature NSExpression only.
source§

impl NSCoding for NSExtensionItem

Available on crate feature NSExtensionItem only.
source§

impl NSCoding for NSFileHandle

Available on crate feature NSFileHandle only.
source§

impl NSCoding for NSFileSecurity

Available on crate feature NSURL only.
source§

impl NSCoding for NSFileWrapper

Available on crate feature NSFileWrapper only.
source§

impl NSCoding for NSFormatter

Available on crate feature NSFormatter only.
source§

impl NSCoding for NSGetCommand

Available on crate features NSScriptCommand and NSScriptStandardSuiteCommands only.
source§

impl NSCoding for NSHTTPURLResponse

Available on crate feature NSURLResponse only.
source§

impl NSCoding for NSISO8601DateFormatter

Available on crate features NSFormatter and NSISO8601DateFormatter only.
source§

impl NSCoding for NSIndexPath

Available on crate feature NSIndexPath only.
source§

impl NSCoding for NSIndexSet

Available on crate feature NSIndexSet only.
source§

impl NSCoding for NSIndexSpecifier

Available on crate feature NSScriptObjectSpecifiers only.
source§

impl NSCoding for NSInflectionRule

Available on crate feature NSInflectionRule only.
source§

impl NSCoding for NSInflectionRuleExplicit

Available on crate feature NSInflectionRule only.
source§

impl NSCoding for NSLengthFormatter

Available on crate features NSFormatter and NSLengthFormatter only.
source§

impl NSCoding for NSListFormatter

Available on crate features NSFormatter and NSListFormatter only.
source§

impl NSCoding for NSLocale

Available on crate feature NSLocale only.
source§

impl NSCoding for NSLogicalTest

Available on crate feature NSScriptWhoseTests only.
source§

impl NSCoding for NSMachPort

Available on crate feature NSPort only.
source§

impl NSCoding for NSMassFormatter

Available on crate features NSFormatter and NSMassFormatter only.
source§

impl NSCoding for NSMeasurementFormatter

Available on crate features NSFormatter and NSMeasurementFormatter only.
source§

impl NSCoding for NSMessagePort

Available on crate feature NSPort only.
source§

impl NSCoding for NSMiddleSpecifier

Available on crate feature NSScriptObjectSpecifiers only.
source§

impl NSCoding for NSMorphology

Available on crate feature NSMorphology only.
source§

impl NSCoding for NSMorphologyCustomPronoun

Available on crate feature NSMorphology only.
source§

impl NSCoding for NSMorphologyPronoun

Available on crate feature NSMorphology only.
source§

impl NSCoding for NSMoveCommand

Available on crate features NSScriptCommand and NSScriptStandardSuiteCommands only.
source§

impl NSCoding for NSMutableAttributedString

Available on crate feature NSAttributedString only.
source§

impl NSCoding for NSMutableCharacterSet

Available on crate feature NSCharacterSet only.
source§

impl NSCoding for NSMutableData

Available on crate feature NSData only.
source§

impl NSCoding for NSMutableIndexSet

Available on crate feature NSIndexSet only.
source§

impl NSCoding for NSMutableString

Available on crate feature NSString only.
source§

impl NSCoding for NSMutableURLRequest

Available on crate feature NSURLRequest only.
source§

impl NSCoding for NSNameSpecifier

Available on crate feature NSScriptObjectSpecifiers only.
source§

impl NSCoding for NSNotification

Available on crate feature NSNotification only.
source§

impl NSCoding for NSNull

Available on crate feature NSNull only.
source§

impl NSCoding for NSNumber

Available on crate feature NSValue only.
source§

impl NSCoding for NSNumberFormatter

Available on crate features NSFormatter and NSNumberFormatter only.
source§

impl NSCoding for NSOrthography

Available on crate feature NSOrthography only.
source§

impl NSCoding for NSPersonNameComponents

Available on crate feature NSPersonNameComponents only.
source§

impl NSCoding for NSPersonNameComponentsFormatter

Available on crate features NSFormatter and NSPersonNameComponentsFormatter only.
source§

impl NSCoding for NSPointerArray

Available on crate feature NSPointerArray only.
source§

impl NSCoding for NSPort

Available on crate feature NSPort only.
source§

impl NSCoding for NSPredicate

Available on crate feature NSPredicate only.
source§

impl NSCoding for NSPresentationIntent

Available on crate feature NSAttributedString only.
source§

impl NSCoding for NSPropertySpecifier

Available on crate feature NSScriptObjectSpecifiers only.
source§

impl NSCoding for NSPurgeableData

Available on crate feature NSData only.
source§

impl NSCoding for NSQuitCommand

Available on crate features NSScriptCommand and NSScriptStandardSuiteCommands only.
source§

impl NSCoding for NSRandomSpecifier

Available on crate feature NSScriptObjectSpecifiers only.
source§

impl NSCoding for NSRangeSpecifier

Available on crate feature NSScriptObjectSpecifiers only.
source§

impl NSCoding for NSRegularExpression

Available on crate feature NSRegularExpression only.
source§

impl NSCoding for NSRelativeDateTimeFormatter

Available on crate features NSFormatter and NSRelativeDateTimeFormatter only.
source§

impl NSCoding for NSRelativeSpecifier

Available on crate feature NSScriptObjectSpecifiers only.
source§

impl NSCoding for NSScriptCommand

Available on crate feature NSScriptCommand only.
source§

impl NSCoding for NSScriptCommandDescription

Available on crate feature NSScriptCommandDescription only.
source§

impl NSCoding for NSScriptObjectSpecifier

Available on crate feature NSScriptObjectSpecifiers only.
source§

impl NSCoding for NSScriptWhoseTest

Available on crate feature NSScriptWhoseTests only.
source§

impl NSCoding for NSSetCommand

Available on crate features NSScriptCommand and NSScriptStandardSuiteCommands only.
source§

impl NSCoding for NSSimpleCString

Available on crate feature NSString only.
source§

impl NSCoding for NSSocketPort

Available on crate feature NSPort only.
source§

impl NSCoding for NSSortDescriptor

Available on crate feature NSSortDescriptor only.
source§

impl NSCoding for NSSpecifierTest

Available on crate feature NSScriptWhoseTests only.
source§

impl NSCoding for NSString

Available on crate feature NSString only.
source§

impl NSCoding for NSTermOfAddress

Available on crate feature NSTermOfAddress only.
source§

impl NSCoding for NSTextCheckingResult

Available on crate feature NSTextCheckingResult only.
source§

impl NSCoding for NSTimeZone

Available on crate feature NSTimeZone only.
source§

impl NSCoding for NSURL

Available on crate feature NSURL only.
source§

impl NSCoding for NSURLAuthenticationChallenge

Available on crate feature NSURLAuthenticationChallenge only.
source§

impl NSCoding for NSURLCredential

Available on crate feature NSURLCredential only.
source§

impl NSCoding for NSURLProtectionSpace

Available on crate feature NSURLProtectionSpace only.
source§

impl NSCoding for NSURLQueryItem

Available on crate feature NSURL only.
source§

impl NSCoding for NSURLRequest

Available on crate feature NSURLRequest only.
source§

impl NSCoding for NSURLResponse

Available on crate feature NSURLResponse only.
source§

impl NSCoding for NSUUID

Available on crate feature NSUUID only.
source§

impl NSCoding for NSUniqueIDSpecifier

Available on crate feature NSScriptObjectSpecifiers only.
source§

impl NSCoding for NSUnit

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitAcceleration

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitAngle

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitArea

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitConcentrationMass

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitConverterLinear

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitDispersion

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitDuration

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitElectricCharge

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitElectricCurrent

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitElectricPotentialDifference

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitElectricResistance

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitEnergy

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitFrequency

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitFuelEfficiency

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitIlluminance

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitInformationStorage

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitLength

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitMass

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitPower

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitPressure

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitSpeed

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitTemperature

Available on crate feature NSUnit only.
source§

impl NSCoding for NSUnitVolume

Available on crate feature NSUnit only.
source§

impl NSCoding for NSValue

Available on crate feature NSValue only.
source§

impl NSCoding for NSWhoseSpecifier

Available on crate feature NSScriptObjectSpecifiers only.
source§

impl NSCoding for NSXPCListenerEndpoint

Available on crate feature NSXPCConnection only.
source§

impl<KeyType: ?Sized + NSCoding, ObjectType: ?Sized + NSCoding> NSCoding for NSDictionary<KeyType, ObjectType>

Available on crate feature NSDictionary only.
source§

impl<KeyType: ?Sized + NSCoding, ObjectType: ?Sized + NSCoding> NSCoding for NSMapTable<KeyType, ObjectType>

Available on crate feature NSMapTable only.
source§

impl<KeyType: ?Sized + NSCoding, ObjectType: ?Sized + NSCoding> NSCoding for NSMutableDictionary<KeyType, ObjectType>

Available on crate feature NSDictionary only.
source§

impl<ObjectType: ?Sized + NSCoding> NSCoding for NSArray<ObjectType>

Available on crate feature NSArray only.
source§

impl<ObjectType: ?Sized + NSCoding> NSCoding for NSCountedSet<ObjectType>

Available on crate feature NSSet only.
source§

impl<ObjectType: ?Sized + NSCoding> NSCoding for NSHashTable<ObjectType>

Available on crate feature NSHashTable only.
source§

impl<ObjectType: ?Sized + NSCoding> NSCoding for NSMutableArray<ObjectType>

Available on crate feature NSArray only.
source§

impl<ObjectType: ?Sized + NSCoding> NSCoding for NSMutableOrderedSet<ObjectType>

Available on crate feature NSOrderedSet only.
source§

impl<ObjectType: ?Sized + NSCoding> NSCoding for NSMutableSet<ObjectType>

Available on crate feature NSSet only.
source§

impl<ObjectType: ?Sized + NSCoding> NSCoding for NSOrderedSet<ObjectType>

Available on crate feature NSOrderedSet only.
source§

impl<ObjectType: ?Sized + NSCoding> NSCoding for NSSet<ObjectType>

Available on crate feature NSSet only.
source§

impl<UnitType: ?Sized + NSCoding> NSCoding for NSMeasurement<UnitType>

Available on crate feature NSMeasurement only.