CSSearchableItemAttributeSet

Struct CSSearchableItemAttributeSet 

Source
pub struct CSSearchableItemAttributeSet { /* private fields */ }
Available on crate feature CSSearchableItemAttributeSet only.
Expand description

Implementations§

Source§

impl CSSearchableItemAttributeSet

Source

pub unsafe fn initWithItemContentType( this: Allocated<Self>, item_content_type: &NSString, ) -> Retained<Self>

👎Deprecated: Use initWithContentType instead
Source

pub unsafe fn initWithContentType( this: Allocated<Self>, content_type: &UTType, ) -> Retained<Self>

Available on crate feature objc2-uniform-type-identifiers only.
Source§

impl CSSearchableItemAttributeSet

Methods declared on superclass NSObject.

Source

pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>

Source

pub unsafe fn new() -> Retained<Self>

Source§

impl CSSearchableItemAttributeSet

CSCustomAttributes.

Source

pub unsafe fn setValue_forCustomKey( &self, value: Option<&ProtocolObject<dyn NSSecureCoding>>, key: &CSCustomAttributeKey, )

§Safety

value should be of the correct type.

Source

pub unsafe fn valueForCustomKey( &self, key: &CSCustomAttributeKey, ) -> Option<Retained<ProtocolObject<dyn NSSecureCoding>>>

Source§

impl CSSearchableItemAttributeSet

CSDocuments.

Source

pub unsafe fn moveFrom( &self, source_attribute_set: &CSSearchableItemAttributeSet, )

Available on crate feature CSSearchableItemAttributeSet_Documents only.
Source

pub unsafe fn subject(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Documents only.

Subject of the this item.

Source

pub unsafe fn setSubject(&self, subject: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Documents only.

Setter for subject.

This is copied when set.

Source

pub unsafe fn theme(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Documents only.
Source

pub unsafe fn setTheme(&self, theme: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Documents only.

Setter for theme.

This is copied when set.

Source

pub unsafe fn contentDescription(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Documents only.
Source

pub unsafe fn setContentDescription( &self, content_description: Option<&NSString>, )

Available on crate feature CSSearchableItemAttributeSet_Documents only.

Setter for contentDescription.

This is copied when set.

Source

pub unsafe fn identifier(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Documents only.
Source

pub unsafe fn setIdentifier(&self, identifier: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Documents only.

Setter for identifier.

This is copied when set.

Source

pub unsafe fn audiences(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Documents only.
Source

pub unsafe fn setAudiences(&self, audiences: Option<&NSArray<NSString>>)

Available on crate feature CSSearchableItemAttributeSet_Documents only.

Setter for audiences.

This is copied when set.

Source

pub unsafe fn fileSize(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Documents only.
Source

pub unsafe fn setFileSize(&self, file_size: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Documents only.

Setter for fileSize.

Source

pub unsafe fn pageCount(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Documents only.
Source

pub unsafe fn setPageCount(&self, page_count: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Documents only.

Setter for pageCount.

Source

pub unsafe fn pageWidth(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Documents only.
Source

pub unsafe fn setPageWidth(&self, page_width: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Documents only.

Setter for pageWidth.

Source

pub unsafe fn pageHeight(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Documents only.
Source

pub unsafe fn setPageHeight(&self, page_height: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Documents only.

Setter for pageHeight.

Source

pub unsafe fn securityMethod(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Documents only.
Source

pub unsafe fn setSecurityMethod(&self, security_method: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Documents only.

Setter for securityMethod.

Source

pub unsafe fn creator(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Documents only.
Source

pub unsafe fn setCreator(&self, creator: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Documents only.

Setter for creator.

This is copied when set.

Source

pub unsafe fn encodingApplications(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Documents only.
Source

pub unsafe fn setEncodingApplications( &self, encoding_applications: Option<&NSArray<NSString>>, )

Available on crate feature CSSearchableItemAttributeSet_Documents only.

Setter for encodingApplications.

This is copied when set.

Source

pub unsafe fn kind(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Documents only.
Source

pub unsafe fn setKind(&self, kind: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Documents only.

Setter for kind.

This is copied when set.

Source

pub unsafe fn fontNames(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Documents only.
Source

pub unsafe fn setFontNames(&self, font_names: Option<&NSArray<NSString>>)

Available on crate feature CSSearchableItemAttributeSet_Documents only.

Setter for fontNames.

This is copied when set.

Source§

impl CSSearchableItemAttributeSet

CSEvents.

Source

pub unsafe fn dueDate(&self) -> Option<Retained<NSDate>>

Available on crate feature CSSearchableItemAttributeSet_Events only.
Source

pub unsafe fn setDueDate(&self, due_date: Option<&NSDate>)

Available on crate feature CSSearchableItemAttributeSet_Events only.

Setter for dueDate.

Source

pub unsafe fn completionDate(&self) -> Option<Retained<NSDate>>

Available on crate feature CSSearchableItemAttributeSet_Events only.
Source

pub unsafe fn setCompletionDate(&self, completion_date: Option<&NSDate>)

Available on crate feature CSSearchableItemAttributeSet_Events only.

Setter for completionDate.

Source

pub unsafe fn startDate(&self) -> Option<Retained<NSDate>>

Available on crate feature CSSearchableItemAttributeSet_Events only.
Source

pub unsafe fn setStartDate(&self, start_date: Option<&NSDate>)

Available on crate feature CSSearchableItemAttributeSet_Events only.

Setter for startDate.

Source

pub unsafe fn endDate(&self) -> Option<Retained<NSDate>>

Available on crate feature CSSearchableItemAttributeSet_Events only.
Source

pub unsafe fn setEndDate(&self, end_date: Option<&NSDate>)

Available on crate feature CSSearchableItemAttributeSet_Events only.

Setter for endDate.

Source

pub unsafe fn importantDates(&self) -> Option<Retained<NSArray<NSDate>>>

Available on crate feature CSSearchableItemAttributeSet_Events only.
Source

pub unsafe fn setImportantDates( &self, important_dates: Option<&NSArray<NSDate>>, )

Available on crate feature CSSearchableItemAttributeSet_Events only.

Setter for importantDates.

This is copied when set.

Source

pub unsafe fn allDay(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Events only.
Source

pub unsafe fn setAllDay(&self, all_day: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Events only.

Setter for allDay.

Source§

impl CSSearchableItemAttributeSet

CSGeneral.

Source

pub unsafe fn displayName(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setDisplayName(&self, display_name: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for displayName.

This is copied when set.

Source

pub unsafe fn alternateNames(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setAlternateNames( &self, alternate_names: Option<&NSArray<NSString>>, )

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for alternateNames.

This is copied when set.

Source

pub unsafe fn path(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setPath(&self, path: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for path.

This is copied when set.

Source

pub unsafe fn contentURL(&self) -> Option<Retained<NSURL>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setContentURL(&self, content_url: Option<&NSURL>)

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for contentURL.

Source

pub unsafe fn thumbnailURL(&self) -> Option<Retained<NSURL>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setThumbnailURL(&self, thumbnail_url: Option<&NSURL>)

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for thumbnailURL.

Source

pub unsafe fn thumbnailData(&self) -> Option<Retained<NSData>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setThumbnailData(&self, thumbnail_data: Option<&NSData>)

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for thumbnailData.

This is copied when set.

Source

pub unsafe fn darkThumbnailURL(&self) -> Option<Retained<NSURL>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setDarkThumbnailURL(&self, dark_thumbnail_url: Option<&NSURL>)

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for darkThumbnailURL.

Source

pub unsafe fn relatedUniqueIdentifier(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setRelatedUniqueIdentifier( &self, related_unique_identifier: Option<&NSString>, )

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for relatedUniqueIdentifier.

This is copied when set.

Source

pub unsafe fn weakRelatedUniqueIdentifier(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setWeakRelatedUniqueIdentifier( &self, weak_related_unique_identifier: Option<&NSString>, )

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for weakRelatedUniqueIdentifier.

This is copied when set.

Source

pub unsafe fn metadataModificationDate(&self) -> Option<Retained<NSDate>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setMetadataModificationDate( &self, metadata_modification_date: Option<&NSDate>, )

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn contentType(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setContentType(&self, content_type: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for contentType.

This is copied when set.

Source

pub unsafe fn contentTypeTree(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setContentTypeTree( &self, content_type_tree: Option<&NSArray<NSString>>, )

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for contentTypeTree.

This is copied when set.

Source

pub unsafe fn keywords(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setKeywords(&self, keywords: Option<&NSArray<NSString>>)

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for keywords.

This is copied when set.

Source

pub unsafe fn title(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setTitle(&self, title: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for title.

This is copied when set.

Source

pub unsafe fn version(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setVersion(&self, version: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for version.

This is copied when set.

Source

pub unsafe fn isUserCreated(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setUserCreated(&self, user_created: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for isUserCreated.

Source

pub unsafe fn isUserOwned(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setUserOwned(&self, user_owned: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for isUserOwned.

Source

pub unsafe fn isUserCurated(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setUserCurated(&self, user_curated: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for isUserCurated.

Source

pub unsafe fn rankingHint(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setRankingHint(&self, ranking_hint: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for rankingHint.

Source

pub unsafe fn domainIdentifier(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setDomainIdentifier(&self, domain_identifier: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for domainIdentifier.

This is copied when set.

Source§

impl CSSearchableItemAttributeSet

CSActionExtras.

Source

pub unsafe fn supportsPhoneCall(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setSupportsPhoneCall( &self, supports_phone_call: Option<&NSNumber>, )

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for supportsPhoneCall.

Source

pub unsafe fn supportsNavigation(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setSupportsNavigation( &self, supports_navigation: Option<&NSNumber>, )

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for supportsNavigation.

Source

pub unsafe fn actionIdentifiers(&self) -> Retained<NSArray<NSString>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setActionIdentifiers( &self, action_identifiers: &NSArray<NSString>, )

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for actionIdentifiers.

This is copied when set.

Source

pub unsafe fn sharedItemContentType(&self) -> Option<Retained<UTType>>

Available on crate features CSSearchableItemAttributeSet_General and objc2-uniform-type-identifiers only.
Source

pub unsafe fn setSharedItemContentType( &self, shared_item_content_type: Option<&UTType>, )

Available on crate features CSSearchableItemAttributeSet_General and objc2-uniform-type-identifiers only.

Setter for sharedItemContentType.

This is copied when set.

Source§

impl CSSearchableItemAttributeSet

CSContainment.

Source

pub unsafe fn containerTitle(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setContainerTitle(&self, container_title: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for containerTitle.

This is copied when set.

Source

pub unsafe fn containerDisplayName(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setContainerDisplayName( &self, container_display_name: Option<&NSString>, )

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for containerDisplayName.

This is copied when set.

Source

pub unsafe fn containerIdentifier(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setContainerIdentifier( &self, container_identifier: Option<&NSString>, )

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for containerIdentifier.

This is copied when set.

Source

pub unsafe fn containerOrder(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setContainerOrder(&self, container_order: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for containerOrder.

Source§

impl CSSearchableItemAttributeSet

CSItemProvider.

Source

pub unsafe fn providerDataTypeIdentifiers( &self, ) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setProviderDataTypeIdentifiers( &self, provider_data_type_identifiers: Option<&NSArray<NSString>>, )

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for providerDataTypeIdentifiers.

This is copied when set.

Source

pub unsafe fn providerFileTypeIdentifiers( &self, ) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setProviderFileTypeIdentifiers( &self, provider_file_type_identifiers: Option<&NSArray<NSString>>, )

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for providerFileTypeIdentifiers.

This is copied when set.

Source

pub unsafe fn providerInPlaceFileTypeIdentifiers( &self, ) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_General only.
Source

pub unsafe fn setProviderInPlaceFileTypeIdentifiers( &self, provider_in_place_file_type_identifiers: Option<&NSArray<NSString>>, )

Available on crate feature CSSearchableItemAttributeSet_General only.

Setter for providerInPlaceFileTypeIdentifiers.

This is copied when set.

Source§

impl CSSearchableItemAttributeSet

CSImages.

Source

pub unsafe fn pixelHeight(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setPixelHeight(&self, pixel_height: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for pixelHeight.

Source

pub unsafe fn pixelWidth(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setPixelWidth(&self, pixel_width: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for pixelWidth.

Source

pub unsafe fn pixelCount(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setPixelCount(&self, pixel_count: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for pixelCount.

Source

pub unsafe fn colorSpace(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setColorSpace(&self, color_space: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for colorSpace.

This is copied when set.

Source

pub unsafe fn bitsPerSample(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setBitsPerSample(&self, bits_per_sample: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for bitsPerSample.

Source

pub unsafe fn isFlashOn(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setFlashOn(&self, flash_on: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for isFlashOn.

Source

pub unsafe fn focalLength(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setFocalLength(&self, focal_length: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for focalLength.

Source

pub unsafe fn isFocalLength35mm(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setFocalLength35mm(&self, focal_length35mm: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for isFocalLength35mm.

Source

pub unsafe fn acquisitionMake(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setAcquisitionMake(&self, acquisition_make: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for acquisitionMake.

This is copied when set.

Source

pub unsafe fn acquisitionModel(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setAcquisitionModel(&self, acquisition_model: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for acquisitionModel.

This is copied when set.

Source

pub unsafe fn cameraOwner(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setCameraOwner(&self, camera_owner: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for cameraOwner.

This is copied when set.

Source

pub unsafe fn lensModel(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setLensModel(&self, lens_model: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for lensModel.

This is copied when set.

Source

pub unsafe fn ISOSpeed(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setISOSpeed(&self, iso_speed: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for ISOSpeed.

Source

pub unsafe fn orientation(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setOrientation(&self, orientation: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for orientation.

Source

pub unsafe fn layerNames(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setLayerNames(&self, layer_names: Option<&NSArray<NSString>>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for layerNames.

This is copied when set.

Source

pub unsafe fn whiteBalance(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setWhiteBalance(&self, white_balance: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for whiteBalance.

Source

pub unsafe fn aperture(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setAperture(&self, aperture: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for aperture.

Source

pub unsafe fn profileName(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setProfileName(&self, profile_name: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for profileName.

This is copied when set.

Source

pub unsafe fn resolutionWidthDPI(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setResolutionWidthDPI( &self, resolution_width_dpi: Option<&NSNumber>, )

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for resolutionWidthDPI.

Source

pub unsafe fn resolutionHeightDPI(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setResolutionHeightDPI( &self, resolution_height_dpi: Option<&NSNumber>, )

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for resolutionHeightDPI.

Source

pub unsafe fn exposureMode(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setExposureMode(&self, exposure_mode: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for exposureMode.

Source

pub unsafe fn exposureTime(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setExposureTime(&self, exposure_time: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for exposureTime.

Source

pub unsafe fn EXIFVersion(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setEXIFVersion(&self, exif_version: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for EXIFVersion.

This is copied when set.

Source

pub unsafe fn EXIFGPSVersion(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setEXIFGPSVersion(&self, exifgps_version: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for EXIFGPSVersion.

This is copied when set.

Source

pub unsafe fn hasAlphaChannel(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setHasAlphaChannel(&self, has_alpha_channel: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for hasAlphaChannel.

Source

pub unsafe fn isRedEyeOn(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setRedEyeOn(&self, red_eye_on: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for isRedEyeOn.

Source

pub unsafe fn meteringMode(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setMeteringMode(&self, metering_mode: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for meteringMode.

This is copied when set.

Source

pub unsafe fn maxAperture(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setMaxAperture(&self, max_aperture: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for maxAperture.

Source

pub unsafe fn fNumber(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setFNumber(&self, f_number: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for fNumber.

Source

pub unsafe fn exposureProgram(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setExposureProgram(&self, exposure_program: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for exposureProgram.

This is copied when set.

Source

pub unsafe fn exposureTimeString(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Images only.
Source

pub unsafe fn setExposureTimeString( &self, exposure_time_string: Option<&NSString>, )

Available on crate feature CSSearchableItemAttributeSet_Images only.

Setter for exposureTimeString.

This is copied when set.

Source§

impl CSSearchableItemAttributeSet

CSMedia.

Source

pub unsafe fn editors(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setEditors(&self, editors: Option<&NSArray<NSString>>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for editors.

This is copied when set.

Source

pub unsafe fn participants(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setParticipants(&self, participants: Option<&NSArray<NSString>>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for participants.

This is copied when set.

Source

pub unsafe fn projects(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setProjects(&self, projects: Option<&NSArray<NSString>>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for projects.

This is copied when set.

Source

pub unsafe fn downloadedDate(&self) -> Option<Retained<NSDate>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setDownloadedDate(&self, downloaded_date: Option<&NSDate>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for downloadedDate.

Source

pub unsafe fn contentSources(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setContentSources( &self, content_sources: Option<&NSArray<NSString>>, )

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for contentSources.

This is copied when set.

Source

pub unsafe fn comment(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setComment(&self, comment: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for comment.

This is copied when set.

Source

pub unsafe fn copyright(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setCopyright(&self, copyright: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for copyright.

This is copied when set.

Source

pub unsafe fn lastUsedDate(&self) -> Option<Retained<NSDate>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setLastUsedDate(&self, last_used_date: Option<&NSDate>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for lastUsedDate.

Source

pub unsafe fn contentCreationDate(&self) -> Option<Retained<NSDate>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setContentCreationDate( &self, content_creation_date: Option<&NSDate>, )

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for contentCreationDate.

Source

pub unsafe fn contentModificationDate(&self) -> Option<Retained<NSDate>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setContentModificationDate( &self, content_modification_date: Option<&NSDate>, )

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn addedDate(&self) -> Option<Retained<NSDate>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setAddedDate(&self, added_date: Option<&NSDate>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for addedDate.

Source

pub unsafe fn duration(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setDuration(&self, duration: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for duration.

Source

pub unsafe fn contactKeywords(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setContactKeywords( &self, contact_keywords: Option<&NSArray<NSString>>, )

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for contactKeywords.

This is copied when set.

Source

pub unsafe fn codecs(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setCodecs(&self, codecs: Option<&NSArray<NSString>>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for codecs.

This is copied when set.

Source

pub unsafe fn mediaTypes(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setMediaTypes(&self, media_types: Option<&NSArray<NSString>>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for mediaTypes.

This is copied when set.

Source

pub unsafe fn isStreamable(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setStreamable(&self, streamable: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for isStreamable.

Source

pub unsafe fn totalBitRate(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setTotalBitRate(&self, total_bit_rate: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for totalBitRate.

Source

pub unsafe fn videoBitRate(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setVideoBitRate(&self, video_bit_rate: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for videoBitRate.

Source

pub unsafe fn audioBitRate(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setAudioBitRate(&self, audio_bit_rate: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for audioBitRate.

Source

pub unsafe fn deliveryType(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setDeliveryType(&self, delivery_type: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for deliveryType.

Source

pub unsafe fn organizations(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setOrganizations(&self, organizations: Option<&NSArray<NSString>>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for organizations.

This is copied when set.

Source

pub unsafe fn role(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setRole(&self, role: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for role.

This is copied when set.

Source

pub unsafe fn languages(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setLanguages(&self, languages: Option<&NSArray<NSString>>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for languages.

This is copied when set.

Source

pub unsafe fn rights(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setRights(&self, rights: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for rights.

This is copied when set.

Source

pub unsafe fn publishers(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setPublishers(&self, publishers: Option<&NSArray<NSString>>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for publishers.

This is copied when set.

Source

pub unsafe fn contributors(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setContributors(&self, contributors: Option<&NSArray<NSString>>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for contributors.

This is copied when set.

Source

pub unsafe fn coverage(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setCoverage(&self, coverage: Option<&NSArray<NSString>>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for coverage.

This is copied when set.

Source

pub unsafe fn rating(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setRating(&self, rating: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for rating.

Source

pub unsafe fn ratingDescription(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setRatingDescription(&self, rating_description: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for ratingDescription.

This is copied when set.

Source

pub unsafe fn playCount(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setPlayCount(&self, play_count: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for playCount.

Source

pub unsafe fn information(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setInformation(&self, information: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for information.

This is copied when set.

Source

pub unsafe fn director(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setDirector(&self, director: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for director.

This is copied when set.

Source

pub unsafe fn producer(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setProducer(&self, producer: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for producer.

This is copied when set.

Source

pub unsafe fn genre(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setGenre(&self, genre: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for genre.

This is copied when set.

Source

pub unsafe fn performers(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setPerformers(&self, performers: Option<&NSArray<NSString>>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for performers.

This is copied when set.

Source

pub unsafe fn originalFormat(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setOriginalFormat(&self, original_format: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for originalFormat.

This is copied when set.

Source

pub unsafe fn originalSource(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setOriginalSource(&self, original_source: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for originalSource.

This is copied when set.

Source

pub unsafe fn isLocal(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setLocal(&self, local: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for isLocal.

Source

pub unsafe fn contentRating(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setContentRating(&self, content_rating: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for contentRating.

Source

pub unsafe fn URL(&self) -> Option<Retained<NSURL>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setURL(&self, url: Option<&NSURL>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for URL.

Source§

impl CSSearchableItemAttributeSet

CSMusic.

Source

pub unsafe fn audioSampleRate(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setAudioSampleRate(&self, audio_sample_rate: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for audioSampleRate.

Source

pub unsafe fn audioChannelCount(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setAudioChannelCount( &self, audio_channel_count: Option<&NSNumber>, )

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for audioChannelCount.

Source

pub unsafe fn tempo(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setTempo(&self, tempo: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for tempo.

Source

pub unsafe fn keySignature(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setKeySignature(&self, key_signature: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for keySignature.

This is copied when set.

Source

pub unsafe fn timeSignature(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setTimeSignature(&self, time_signature: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for timeSignature.

This is copied when set.

Source

pub unsafe fn audioEncodingApplication(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setAudioEncodingApplication( &self, audio_encoding_application: Option<&NSString>, )

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for audioEncodingApplication.

This is copied when set.

Source

pub unsafe fn composer(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setComposer(&self, composer: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for composer.

This is copied when set.

Source

pub unsafe fn lyricist(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setLyricist(&self, lyricist: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for lyricist.

This is copied when set.

Source

pub unsafe fn album(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setAlbum(&self, album: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for album.

This is copied when set.

Source

pub unsafe fn artist(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setArtist(&self, artist: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for artist.

This is copied when set.

Source

pub unsafe fn audioTrackNumber(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setAudioTrackNumber(&self, audio_track_number: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for audioTrackNumber.

Source

pub unsafe fn recordingDate(&self) -> Option<Retained<NSDate>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setRecordingDate(&self, recording_date: Option<&NSDate>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for recordingDate.

Source

pub unsafe fn musicalGenre(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setMusicalGenre(&self, musical_genre: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for musicalGenre.

This is copied when set.

Source

pub unsafe fn isGeneralMIDISequence(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setGeneralMIDISequence( &self, general_midi_sequence: Option<&NSNumber>, )

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn musicalInstrumentCategory(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setMusicalInstrumentCategory( &self, musical_instrument_category: Option<&NSString>, )

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for musicalInstrumentCategory.

This is copied when set.

Source

pub unsafe fn musicalInstrumentName(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Media only.
Source

pub unsafe fn setMusicalInstrumentName( &self, musical_instrument_name: Option<&NSString>, )

Available on crate feature CSSearchableItemAttributeSet_Media only.

Setter for musicalInstrumentName.

This is copied when set.

Source§

impl CSSearchableItemAttributeSet

CSMessaging.

Source

pub unsafe fn accountIdentifier(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Messaging only.
Source

pub unsafe fn setAccountIdentifier(&self, account_identifier: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Messaging only.

Setter for accountIdentifier.

This is copied when set.

Source

pub unsafe fn accountHandles(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Messaging only.
Source

pub unsafe fn setAccountHandles( &self, account_handles: Option<&NSArray<NSString>>, )

Available on crate feature CSSearchableItemAttributeSet_Messaging only.

Setter for accountHandles.

This is copied when set.

Source

pub unsafe fn HTMLContentData(&self) -> Option<Retained<NSData>>

Available on crate feature CSSearchableItemAttributeSet_Messaging only.
Source

pub unsafe fn setHTMLContentData(&self, html_content_data: Option<&NSData>)

Available on crate feature CSSearchableItemAttributeSet_Messaging only.

Setter for HTMLContentData.

This is copied when set.

Source

pub unsafe fn textContent(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Messaging only.
Source

pub unsafe fn setTextContent(&self, text_content: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Messaging only.

Setter for textContent.

This is copied when set.

Source

pub unsafe fn authors(&self) -> Option<Retained<NSArray<CSPerson>>>

Available on crate features CSSearchableItemAttributeSet_Messaging and CSPerson only.
Source

pub unsafe fn setAuthors(&self, authors: Option<&NSArray<CSPerson>>)

Available on crate features CSSearchableItemAttributeSet_Messaging and CSPerson only.

Setter for authors.

This is copied when set.

Source

pub unsafe fn primaryRecipients(&self) -> Option<Retained<NSArray<CSPerson>>>

Available on crate features CSSearchableItemAttributeSet_Messaging and CSPerson only.
Source

pub unsafe fn setPrimaryRecipients( &self, primary_recipients: Option<&NSArray<CSPerson>>, )

Available on crate features CSSearchableItemAttributeSet_Messaging and CSPerson only.

Setter for primaryRecipients.

This is copied when set.

Source

pub unsafe fn additionalRecipients(&self) -> Option<Retained<NSArray<CSPerson>>>

Available on crate features CSSearchableItemAttributeSet_Messaging and CSPerson only.
Source

pub unsafe fn setAdditionalRecipients( &self, additional_recipients: Option<&NSArray<CSPerson>>, )

Available on crate features CSSearchableItemAttributeSet_Messaging and CSPerson only.

Setter for additionalRecipients.

This is copied when set.

Source

pub unsafe fn hiddenAdditionalRecipients( &self, ) -> Option<Retained<NSArray<CSPerson>>>

Available on crate features CSSearchableItemAttributeSet_Messaging and CSPerson only.
Source

pub unsafe fn setHiddenAdditionalRecipients( &self, hidden_additional_recipients: Option<&NSArray<CSPerson>>, )

Available on crate features CSSearchableItemAttributeSet_Messaging and CSPerson only.

Setter for hiddenAdditionalRecipients.

This is copied when set.

Source

pub unsafe fn emailHeaders( &self, ) -> Option<Retained<NSDictionary<NSString, NSArray>>>

Available on crate feature CSSearchableItemAttributeSet_Messaging only.
Source

pub unsafe fn setEmailHeaders( &self, email_headers: Option<&NSDictionary<NSString, NSArray>>, )

Available on crate feature CSSearchableItemAttributeSet_Messaging only.

Setter for emailHeaders.

This is copied when set.

§Safety

email_headers generic generic should be of the correct type.

Source

pub unsafe fn mailboxIdentifiers(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Messaging only.
Source

pub unsafe fn setMailboxIdentifiers( &self, mailbox_identifiers: Option<&NSArray<NSString>>, )

Available on crate feature CSSearchableItemAttributeSet_Messaging only.

Setter for mailboxIdentifiers.

This is copied when set.

Source

pub unsafe fn authorNames(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Messaging only.
Source

pub unsafe fn setAuthorNames(&self, author_names: Option<&NSArray<NSString>>)

Available on crate feature CSSearchableItemAttributeSet_Messaging only.

Setter for authorNames.

This is copied when set.

Source

pub unsafe fn recipientNames(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Messaging only.
Source

pub unsafe fn setRecipientNames( &self, recipient_names: Option<&NSArray<NSString>>, )

Available on crate feature CSSearchableItemAttributeSet_Messaging only.

Setter for recipientNames.

This is copied when set.

Source

pub unsafe fn authorEmailAddresses(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Messaging only.
Source

pub unsafe fn setAuthorEmailAddresses( &self, author_email_addresses: Option<&NSArray<NSString>>, )

Available on crate feature CSSearchableItemAttributeSet_Messaging only.

Setter for authorEmailAddresses.

This is copied when set.

Source

pub unsafe fn recipientEmailAddresses( &self, ) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Messaging only.
Source

pub unsafe fn setRecipientEmailAddresses( &self, recipient_email_addresses: Option<&NSArray<NSString>>, )

Available on crate feature CSSearchableItemAttributeSet_Messaging only.

Setter for recipientEmailAddresses.

This is copied when set.

Source

pub unsafe fn authorAddresses(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Messaging only.
Source

pub unsafe fn setAuthorAddresses( &self, author_addresses: Option<&NSArray<NSString>>, )

Available on crate feature CSSearchableItemAttributeSet_Messaging only.

Setter for authorAddresses.

This is copied when set.

Source

pub unsafe fn recipientAddresses(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Messaging only.
Source

pub unsafe fn setRecipientAddresses( &self, recipient_addresses: Option<&NSArray<NSString>>, )

Available on crate feature CSSearchableItemAttributeSet_Messaging only.

Setter for recipientAddresses.

This is copied when set.

Source

pub unsafe fn phoneNumbers(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Messaging only.
Source

pub unsafe fn setPhoneNumbers(&self, phone_numbers: Option<&NSArray<NSString>>)

Available on crate feature CSSearchableItemAttributeSet_Messaging only.

Setter for phoneNumbers.

This is copied when set.

Source

pub unsafe fn emailAddresses(&self) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Messaging only.
Source

pub unsafe fn setEmailAddresses( &self, email_addresses: Option<&NSArray<NSString>>, )

Available on crate feature CSSearchableItemAttributeSet_Messaging only.

Setter for emailAddresses.

This is copied when set.

Source

pub unsafe fn instantMessageAddresses( &self, ) -> Option<Retained<NSArray<NSString>>>

Available on crate feature CSSearchableItemAttributeSet_Messaging only.
Source

pub unsafe fn setInstantMessageAddresses( &self, instant_message_addresses: Option<&NSArray<NSString>>, )

Available on crate feature CSSearchableItemAttributeSet_Messaging only.

Setter for instantMessageAddresses.

This is copied when set.

Source

pub unsafe fn isLikelyJunk(&self) -> Retained<NSNumber>

Available on crate feature CSSearchableItemAttributeSet_Messaging only.
Source

pub unsafe fn setLikelyJunk(&self, likely_junk: &NSNumber)

Available on crate feature CSSearchableItemAttributeSet_Messaging only.

Setter for isLikelyJunk.

Source

pub unsafe fn isPriority(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Messaging only.
Source

pub unsafe fn textContentSummary(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Messaging only.
Source

pub unsafe fn transcribedTextContent(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Messaging only.
Source

pub unsafe fn setTranscribedTextContent( &self, transcribed_text_content: Option<&NSString>, )

Available on crate feature CSSearchableItemAttributeSet_Messaging only.
Source§

impl CSSearchableItemAttributeSet

CSPlaces.

Source

pub unsafe fn headline(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setHeadline(&self, headline: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for headline.

This is copied when set.

Source

pub unsafe fn instructions(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setInstructions(&self, instructions: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for instructions.

This is copied when set.

Source

pub unsafe fn thoroughfare(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setThoroughfare(&self, thoroughfare: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for thoroughfare.

This is copied when set.

Source

pub unsafe fn subThoroughfare(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setSubThoroughfare(&self, sub_thoroughfare: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for subThoroughfare.

This is copied when set.

Source

pub unsafe fn postalCode(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setPostalCode(&self, postal_code: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for postalCode.

This is copied when set.

Source

pub unsafe fn city(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setCity(&self, city: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for city.

This is copied when set.

Source

pub unsafe fn stateOrProvince(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setStateOrProvince(&self, state_or_province: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for stateOrProvince.

This is copied when set.

Source

pub unsafe fn country(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setCountry(&self, country: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for country.

This is copied when set.

Source

pub unsafe fn fullyFormattedAddress(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setFullyFormattedAddress( &self, fully_formatted_address: Option<&NSString>, )

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for fullyFormattedAddress.

This is copied when set.

Source

pub unsafe fn altitude(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setAltitude(&self, altitude: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for altitude.

Source

pub unsafe fn latitude(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setLatitude(&self, latitude: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for latitude.

Source

pub unsafe fn longitude(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setLongitude(&self, longitude: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for longitude.

Source

pub unsafe fn speed(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setSpeed(&self, speed: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for speed.

Source

pub unsafe fn timestamp(&self) -> Option<Retained<NSDate>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setTimestamp(&self, timestamp: Option<&NSDate>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for timestamp.

Source

pub unsafe fn imageDirection(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setImageDirection(&self, image_direction: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for imageDirection.

Source

pub unsafe fn namedLocation(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setNamedLocation(&self, named_location: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for namedLocation.

This is copied when set.

Source

pub unsafe fn GPSTrack(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setGPSTrack(&self, gps_track: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for GPSTrack.

Source

pub unsafe fn GPSStatus(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setGPSStatus(&self, gps_status: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for GPSStatus.

This is copied when set.

Source

pub unsafe fn GPSMeasureMode(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setGPSMeasureMode(&self, gps_measure_mode: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for GPSMeasureMode.

This is copied when set.

Source

pub unsafe fn GPSDOP(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setGPSDOP(&self, gpsdop: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for GPSDOP.

Source

pub unsafe fn GPSMapDatum(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setGPSMapDatum(&self, gps_map_datum: Option<&NSString>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for GPSMapDatum.

This is copied when set.

Source

pub unsafe fn GPSDestLatitude(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setGPSDestLatitude(&self, gps_dest_latitude: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for GPSDestLatitude.

Source

pub unsafe fn GPSDestLongitude(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setGPSDestLongitude(&self, gps_dest_longitude: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for GPSDestLongitude.

Source

pub unsafe fn GPSDestBearing(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setGPSDestBearing(&self, gps_dest_bearing: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for GPSDestBearing.

Source

pub unsafe fn GPSDestDistance(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setGPSDestDistance(&self, gps_dest_distance: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for GPSDestDistance.

Source

pub unsafe fn GPSProcessingMethod(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setGPSProcessingMethod( &self, gps_processing_method: Option<&NSString>, )

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for GPSProcessingMethod.

This is copied when set.

Source

pub unsafe fn GPSAreaInformation(&self) -> Option<Retained<NSString>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setGPSAreaInformation( &self, gps_area_information: Option<&NSString>, )

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for GPSAreaInformation.

This is copied when set.

Source

pub unsafe fn GPSDateStamp(&self) -> Option<Retained<NSDate>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setGPSDateStamp(&self, gps_date_stamp: Option<&NSDate>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for GPSDateStamp.

Source

pub unsafe fn GPSDifferental(&self) -> Option<Retained<NSNumber>>

Available on crate feature CSSearchableItemAttributeSet_Places only.
Source

pub unsafe fn setGPSDifferental(&self, gps_differental: Option<&NSNumber>)

Available on crate feature CSSearchableItemAttributeSet_Places only.

Setter for GPSDifferental.

Methods from Deref<Target = NSObject>§

Source

pub fn doesNotRecognizeSelector(&self, sel: Sel) -> !

Handle messages the object doesn’t recognize.

See Apple’s documentation for details.

Methods from Deref<Target = AnyObject>§

Source

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());
Source

pub unsafe fn get_ivar<T>(&self, name: &str) -> &T
where T: Encode,

👎Deprecated: this is difficult to use correctly, use 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.

Source

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<AnyObject> for CSSearchableItemAttributeSet

Source§

fn as_ref(&self) -> &AnyObject

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<CSSearchableItemAttributeSet> for CSSearchableItemAttributeSet

Source§

fn as_ref(&self) -> &Self

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<NSObject> for CSSearchableItemAttributeSet

Source§

fn as_ref(&self) -> &NSObject

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Borrow<AnyObject> for CSSearchableItemAttributeSet

Source§

fn borrow(&self) -> &AnyObject

Immutably borrows from an owned value. Read more
Source§

impl Borrow<NSObject> for CSSearchableItemAttributeSet

Source§

fn borrow(&self) -> &NSObject

Immutably borrows from an owned value. Read more
Source§

impl ClassType for CSSearchableItemAttributeSet

Source§

const NAME: &'static str = "CSSearchableItemAttributeSet"

The name of the Objective-C class that this type represents. Read more
Source§

type Super = NSObject

The superclass of this class. Read more
Source§

type ThreadKind = <<CSSearchableItemAttributeSet as ClassType>::Super as ClassType>::ThreadKind

Whether the type can be used from any thread, or from only the main thread. Read more
Source§

fn class() -> &'static AnyClass

Get a reference to the Objective-C class that this type represents. Read more
Source§

fn as_super(&self) -> &Self::Super

Get an immutable reference to the superclass.
Source§

impl CopyingHelper for CSSearchableItemAttributeSet

Source§

type Result = CSSearchableItemAttributeSet

The immutable counterpart of the type, or Self if the type has no immutable counterpart. Read more
Source§

impl Debug for CSSearchableItemAttributeSet

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Deref for CSSearchableItemAttributeSet

Source§

type Target = NSObject

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl Hash for CSSearchableItemAttributeSet

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Message for CSSearchableItemAttributeSet

Source§

fn retain(&self) -> Retained<Self>
where Self: Sized,

Increment the reference count of the receiver. Read more
Source§

impl NSCoding for CSSearchableItemAttributeSet

Source§

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

Safety Read more
Source§

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

Safety Read more
Source§

impl NSCopying for CSSearchableItemAttributeSet

Source§

fn copy(&self) -> Retained<Self::Result>
where Self: Sized + Message + CopyingHelper,

Returns a new instance that’s a copy of the receiver. Read more
Source§

unsafe fn copyWithZone(&self, zone: *mut NSZone) -> Retained<Self::Result>
where Self: Sized + Message + CopyingHelper,

Returns a new instance that’s a copy of the receiver. Read more
Source§

impl NSObjectProtocol for CSSearchableItemAttributeSet

Source§

fn isEqual(&self, other: Option<&AnyObject>) -> bool
where Self: Sized + Message,

Check whether the object is equal to an arbitrary other object. Read more
Source§

fn hash(&self) -> usize
where Self: Sized + Message,

An integer that can be used as a table address in a hash table structure. Read more
Source§

fn isKindOfClass(&self, cls: &AnyClass) -> bool
where Self: Sized + Message,

Check if the object is an instance of the class, or one of its subclasses. Read more
Source§

fn is_kind_of<T>(&self) -> bool
where T: ClassType, Self: Sized + Message,

👎Deprecated: use isKindOfClass directly, or cast your objects with AnyObject::downcast_ref
Check if the object is an instance of the class type, or one of its subclasses. Read more
Source§

fn isMemberOfClass(&self, cls: &AnyClass) -> bool
where Self: Sized + Message,

Check if the object is an instance of a specific class, without checking subclasses. Read more
Source§

fn respondsToSelector(&self, aSelector: Sel) -> bool
where Self: Sized + Message,

Check whether the object implements or inherits a method with the given selector. Read more
Source§

fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
where Self: Sized + Message,

Check whether the object conforms to a given protocol. Read more
Source§

fn description(&self) -> Retained<NSObject>
where Self: Sized + Message,

A textual representation of the object. Read more
Source§

fn debugDescription(&self) -> Retained<NSObject>
where Self: Sized + Message,

A textual representation of the object to use when debugging. Read more
Source§

fn isProxy(&self) -> bool
where Self: Sized + Message,

Check whether the receiver is a subclass of the NSProxy root class instead of the usual NSObject. Read more
Source§

fn retainCount(&self) -> usize
where Self: Sized + Message,

The reference count of the object. Read more
Source§

impl NSSecureCoding for CSSearchableItemAttributeSet

Source§

impl PartialEq for CSSearchableItemAttributeSet

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl RefEncode for CSSearchableItemAttributeSet

Source§

const ENCODING_REF: Encoding = <NSObject as ::objc2::RefEncode>::ENCODING_REF

The Objective-C type-encoding for a reference of this type. Read more
Source§

impl DowncastTarget for CSSearchableItemAttributeSet

Source§

impl Eq for CSSearchableItemAttributeSet

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<'a, T> AnyThread for T
where T: ClassType<ThreadKind = dyn AnyThread + 'a> + ?Sized,

Source§

fn alloc() -> Allocated<Self>
where Self: Sized + ClassType,

Allocate a new instance of the class. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> AutoreleaseSafe for T
where T: ?Sized,