pub unsafe trait NSUserActivityCSSearchableItemAttributeSet:
ClassType
+ Sized
+ Sealed {
// Provided methods
unsafe fn contentAttributeSet(
&self,
) -> Option<Retained<CSSearchableItemAttributeSet>> { ... }
unsafe fn setContentAttributeSet(
&self,
content_attribute_set: Option<&CSSearchableItemAttributeSet>,
) { ... }
}Available on crate feature
CSSearchableItemAttributeSet only.Expand description
Category “CSSearchableItemAttributeSet” on NSUserActivity.
Provided Methods§
unsafe fn contentAttributeSet( &self, ) -> Option<Retained<CSSearchableItemAttributeSet>>
Sourceunsafe fn setContentAttributeSet(
&self,
content_attribute_set: Option<&CSSearchableItemAttributeSet>,
)
unsafe fn setContentAttributeSet( &self, content_attribute_set: Option<&CSSearchableItemAttributeSet>, )
Setter for contentAttributeSet.
This is copied when set.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.