NSUserActivityCSSearchableItemAttributeSet

Trait NSUserActivityCSSearchableItemAttributeSet 

Source
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§

Source

unsafe fn contentAttributeSet( &self, ) -> Option<Retained<CSSearchableItemAttributeSet>>

Source

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.

Implementations on Foreign Types§

Source§

impl NSUserActivityCSSearchableItemAttributeSet for NSUserActivity

Implementors§